Mercurial > sdl-ios-xcode
comparison src/events/SDL_events_c.h @ 5125:dc0dfdd58f27
Removed completely non-portable event thread hack.
Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Jan 2011 22:44:08 -0800 |
parents | eed063a0bf5b |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5124:0ec550f04bbc | 5125:dc0dfdd58f27 |
---|---|
27 #include "SDL_mouse_c.h" | 27 #include "SDL_mouse_c.h" |
28 #include "SDL_keyboard_c.h" | 28 #include "SDL_keyboard_c.h" |
29 #include "SDL_touch_c.h" | 29 #include "SDL_touch_c.h" |
30 #include "SDL_windowevents_c.h" | 30 #include "SDL_windowevents_c.h" |
31 #include "SDL_gesture_c.h" | 31 #include "SDL_gesture_c.h" |
32 | |
32 /* Start and stop the event processing loop */ | 33 /* Start and stop the event processing loop */ |
33 extern int SDL_StartEventLoop(Uint32 flags); | 34 extern int SDL_StartEventLoop(void); |
34 extern void SDL_StopEventLoop(void); | 35 extern void SDL_StopEventLoop(void); |
35 extern void SDL_QuitInterrupt(void); | 36 extern void SDL_QuitInterrupt(void); |
36 | |
37 extern void SDL_Lock_EventThread(void); | |
38 extern void SDL_Unlock_EventThread(void); | |
39 extern SDL_threadID SDL_EventThreadID(void); | |
40 | 37 |
41 extern int SDL_SendSysWMEvent(SDL_SysWMmsg * message); | 38 extern int SDL_SendSysWMEvent(SDL_SysWMmsg * message); |
42 | 39 |
43 extern int SDL_QuitInit(void); | 40 extern int SDL_QuitInit(void); |
44 extern int SDL_SendQuit(void); | 41 extern int SDL_SendQuit(void); |