Added comment to clarify an implementation issue (what conditions did nsITimer callback functions expect).

This commit is contained in:
thom%netscape.com 1998-09-03 21:16:41 +00:00
Родитель 09a5166987
Коммит 853b1c1c14
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -24,6 +24,11 @@
class nsITimer;
class nsITimerCallback;
// Implementations of nsITimer should be written such that there are no limitations
// on what can be called by the TimerCallbackFunc. On platforms like the Macintosh this
// means that callback functions must be called from the main event loop NOT from
// an interrupt.
/// Signature of timer callback function
typedef void
(*nsTimerCallbackFunc) (nsITimer *aTimer, void *aClosure);