include/SDL_thread.h
changeset 337 9154ec9ca3d2
parent 297 f6ffac90895c
child 769 b8d311d90021
     1.1 --- a/include/SDL_thread.h	Wed Apr 10 17:12:32 2002 +0000
     1.2 +++ b/include/SDL_thread.h	Thu Apr 11 14:35:16 2002 +0000
     1.3 @@ -50,24 +50,24 @@
     1.4  typedef struct SDL_Thread SDL_Thread;
     1.5  
     1.6  /* Create a thread */
     1.7 -extern DECLSPEC SDL_Thread * SDL_CreateThread(int (*fn)(void *), void *data);
     1.8 +extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data);
     1.9  
    1.10  /* Get the 32-bit thread identifier for the current thread */
    1.11 -extern DECLSPEC Uint32 SDL_ThreadID(void);
    1.12 +extern DECLSPEC Uint32 SDLCALL SDL_ThreadID(void);
    1.13  
    1.14  /* Get the 32-bit thread identifier for the specified thread,
    1.15     equivalent to SDL_ThreadID() if the specified thread is NULL.
    1.16   */
    1.17 -extern DECLSPEC Uint32 SDL_GetThreadID(SDL_Thread *thread);
    1.18 +extern DECLSPEC Uint32 SDLCALL SDL_GetThreadID(SDL_Thread *thread);
    1.19  
    1.20  /* Wait for a thread to finish.
    1.21     The return code for the thread function is placed in the area
    1.22     pointed to by 'status', if 'status' is not NULL.
    1.23   */
    1.24 -extern DECLSPEC void SDL_WaitThread(SDL_Thread *thread, int *status);
    1.25 +extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread *thread, int *status);
    1.26  
    1.27  /* Forcefully kill a thread without worrying about its state */
    1.28 -extern DECLSPEC void SDL_KillThread(SDL_Thread *thread);
    1.29 +extern DECLSPEC void SDLCALL SDL_KillThread(SDL_Thread *thread);
    1.30  
    1.31  
    1.32  /* Ends C function definitions when using C++ */