Back to index

plt-scheme  4.2.1
Functions
wxtimeout.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void wxRemoveTimeOut (long timer)
long wxAppAddTimeOut (XtAppContext c, unsigned long interval, XtTimerCallbackProc callback, XtPointer data, Widget w)

Function Documentation

long wxAppAddTimeOut ( XtAppContext  c,
unsigned long  interval,
XtTimerCallbackProc  callback,
XtPointer  data,
Widget  w 
)

Definition at line 647 of file mredx.cxx.

    {
      wxTimer *t;
      long result;

      t = new wxXtTimer(w, callback, data);
      t->Start(interval, TRUE);
#ifdef MZ_PRECISE_GC
      result = (long)GC_malloc_immobile_box(t);
#else
      result = (long)t;
#endif

#ifdef MZ_PRECISE_GC
      XFORM_RESET_VAR_STACK;
#endif

      return result;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void wxRemoveTimeOut ( long  timer)

Definition at line 629 of file mredx.cxx.

    {
      wxXtTimer *t;
#ifdef MZ_PRECISE_GC
      t = *(wxXtTimer **)timer;
      GC_free_immobile_box((void **)timer);
#else
      t = (wxXtTimer *)timer;
#endif

      t->Stop();
      t->Stopped();

#ifdef MZ_PRECISE_GC
      XFORM_RESET_VAR_STACK;
#endif
    }

Here is the call graph for this function:

Here is the caller graph for this function: