mod/maxgui.mod/fltkmaxgui.mod/src/Fl.cxx
void Fl::remove_timeout(Fl_Timeout_Handler cb, void *argp) {
  // This version removes all matching timeouts, not just the first one.
  // This may change in the future.
  for (Timeout** p = &first_timeout; *p;) {
    Timeout* t = *p;
    if (t->cb == cb && (t->arg == argp || !argp)) {
      *p = t->next;
      t->next = free_timeout;
      free_timeout = t;
    } else {
      p = &(t->next);
    }
  }
}
/**
  Removes a timeout callback. It is harmless to remove a timeout
  callback that no longer exists.
*/
Removes a timeout callback. It is harmless to remove a timeout
callback that no longer exists.
Removes a timeout callback . It is harmless to remove a timeout callback that no longer exists .
void Fl::remove_timeout(Fl_Timeout_Handler cb, void *argp) {
  for (Timeout** p = &first_timeout; *p;) {
    Timeout* t = *p;
    if (t->cb == cb && (t->arg == argp || !argp)) {
      *p = t->next;
      t->next = free_timeout;
      free_timeout = t;
    } else {
      p = &(t->next);
    }
  }
}
void Fl :: remove_timeout ( Fl_Timeout_Handler cb , void * argp ) { for ( Timeout * * p = & first_timeout ; * p ; ) { Timeout * t = * p ; if ( t -> cb == cb && ( t -> arg == argp || ! argp ) ) { * p = t -> next ; t -> next = free_timeout ; free_timeout = t ; } else { p = & ( t -> next ) ; } } }
Removes a timeout callback.
Removes a timeout callback .
// This version removes all matching timeouts, not just the first one. // This may change in the future.