comparison include/SDL_thread.h @ 2060:866052b01ee5

indent is evil
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Oct 2006 16:48:03 +0000
parents 5f6550e5184f
children 4436464c4f51
comparison
equal deleted inserted replaced
2059:4685ccd33d0e 2060:866052b01ee5
89 void *arg, unsigned, 89 void *arg, unsigned,
90 unsigned *threadID); 90 unsigned *threadID);
91 typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code); 91 typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
92 #endif 92 #endif
93 93
94 extern DECLSPEC SDL_Thread *SDLCALL SDL_CreateThread(int (SDLCALL * f) (void *), 94 extern DECLSPEC SDL_Thread *SDLCALL
95 void *data, 95 SDL_CreateThread(int (SDLCALL * f) (void *), void *data,
96 pfnSDL_CurrentBeginThread 96 pfnSDL_CurrentBeginThread pfnBeginThread,
97 pfnBeginThread, 97 pfnSDL_CurrentEndThread pfnEndThread);
98 pfnSDL_CurrentEndThread
99 pfnEndThread);
100 98
101 #ifdef __OS2__ 99 #ifdef __OS2__
102 #define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, _beginthread, _endthread) 100 #define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, _beginthread, _endthread)
103 #elif defined(_WIN32_WCE) 101 #elif defined(_WIN32_WCE)
104 #define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, NULL, NULL) 102 #define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, NULL, NULL)