Mercurial > wgsdk
diff src/include/timer.h @ 7:be4835547dd0
clean up code, convert git files to hg, etc.
| author | Paper | 
|---|---|
| date | Fri, 16 Dec 2022 20:35:06 -0500 | 
| parents | d91dfd53b8b4 | 
| children | 42ac054c0231 | 
line wrap: on
 line diff
--- a/src/include/timer.h Sat Dec 17 01:48:13 2022 +0000 +++ b/src/include/timer.h Fri Dec 16 20:35:06 2022 -0500 @@ -5,7 +5,7 @@ #endif #include <windows.h> -struct timer_t { +struct timer { int initialized; int is_timer_alive; UINT interval; @@ -13,8 +13,8 @@ TIMERPROC timer_proc; }; -void timer_init(struct timer_t* timer, HWND winampClientWindow, TIMERPROC timer_proc); -void timer_set(struct timer_t* timer, HWND winampClientWindow); -void timer_stop(struct timer_t* timer, HWND winampClientWindow); +void timer_init(struct timer* timer, HWND winampClientWindow, TIMERPROC timer_proc); +void timer_set(struct timer* timer, HWND winampClientWindow); +void timer_stop(struct timer* timer, HWND winampClientWindow); #endif // __timer_h \ No newline at end of file
