Mercurial > sdl-ios-xcode
comparison src/timer/SDL_timer.c @ 1190:173c063d4f55
OS/2 port!
This was mostly, if not entirely, written by "Doodle" and "Caetano":
doodle@scenergy.dfmk.hu
daniel@caetano.eng.br
--ryan.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 23 Nov 2005 07:29:56 +0000 |
parents | 95b261f445b1 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1189:c96b326b90ba | 1190:173c063d4f55 |
---|---|
240 SDL_mutexV(SDL_timer_mutex); | 240 SDL_mutexV(SDL_timer_mutex); |
241 return removed; | 241 return removed; |
242 } | 242 } |
243 | 243 |
244 /* Old style callback functions are wrapped through this */ | 244 /* Old style callback functions are wrapped through this */ |
245 static Uint32 callback_wrapper(Uint32 ms, void *param) | 245 static Uint32 SDLCALL callback_wrapper(Uint32 ms, void *param) |
246 { | 246 { |
247 SDL_TimerCallback func = (SDL_TimerCallback) param; | 247 SDL_TimerCallback func = (SDL_TimerCallback) param; |
248 return (*func)(ms); | 248 return (*func)(ms); |
249 } | 249 } |
250 | 250 |