include/SDL_thread.h
changeset 930 02759105b989
parent 769 b8d311d90021
child 1190 173c063d4f55
equal deleted inserted replaced
929:03fb90fc135e 930:02759105b989
    48 /* The SDL thread structure, defined in SDL_thread.c */
    48 /* The SDL thread structure, defined in SDL_thread.c */
    49 struct SDL_Thread;
    49 struct SDL_Thread;
    50 typedef struct SDL_Thread SDL_Thread;
    50 typedef struct SDL_Thread SDL_Thread;
    51 
    51 
    52 /* Create a thread */
    52 /* Create a thread */
    53 extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data);
    53 extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (SDLCALL *fn)(void *), void *data);
    54 
    54 
    55 /* Get the 32-bit thread identifier for the current thread */
    55 /* Get the 32-bit thread identifier for the current thread */
    56 extern DECLSPEC Uint32 SDLCALL SDL_ThreadID(void);
    56 extern DECLSPEC Uint32 SDLCALL SDL_ThreadID(void);
    57 
    57 
    58 /* Get the 32-bit thread identifier for the specified thread,
    58 /* Get the 32-bit thread identifier for the specified thread,