equal
deleted
inserted
replaced
1117 |
1117 |
1118 (* remember to mark the threaded functions as 'cdecl; export;' |
1118 (* remember to mark the threaded functions as 'cdecl; export;' |
1119 (or have fun debugging nil arguments) *) |
1119 (or have fun debugging nil arguments) *) |
1120 function SDL_CreateThread(fn: Pointer; name: PChar; data: Pointer): PSDL_Thread; cdecl; external SDLLibName; |
1120 function SDL_CreateThread(fn: Pointer; name: PChar; data: Pointer): PSDL_Thread; cdecl; external SDLLibName; |
1121 procedure SDL_WaitThread(thread: PSDL_Thread; status: PLongInt); cdecl; external SDLLibName; |
1121 procedure SDL_WaitThread(thread: PSDL_Thread; status: PLongInt); cdecl; external SDLLibName; |
|
1122 procedure SDL_DetachThread(thread: PSDL_Thread); cdecl; external SDLLibName; |
1122 |
1123 |
1123 function SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName; |
1124 function SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName; |
1124 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName; |
1125 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName; |
1125 function SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName; |
1126 function SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName; |
1126 function SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName; |
1127 function SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName; |