/[gxemul]/trunk/src/include/timer.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/timer.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 41 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: timer.h,v 1.3 2006/12/30 13:31:01 debug Exp $   *  $Id: timer.h,v 1.4 2007/06/07 15:36:25 debug Exp $
32   */   */
33    
34  struct timer;  struct timer;
35    
36    #define TIMER_BASE_FREQUENCY    60.0    /*  Hz  */
37    
38  struct timer *timer_add(double freq, void (*timer_tick)(struct timer *timer,  struct timer *timer_add(double freq, void (*timer_tick)(struct timer *timer,
39          void *extra), void *extra);          void *extra), void *extra);
40  void timer_remove(struct timer *t);  void timer_remove(struct timer *t);

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26