File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1- // based on "sdl_mutex.h" (2.0.14)
1+ // based on "sdl_mutex.h"
22
33const
44 { **
@@ -55,6 +55,9 @@ function SDL_CreateMutex: PSDL_Mutex; cdecl;
5555function SDL_LockMutex (mutex: PSDL_Mutex): cint; cdecl;
5656 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_LockMutex' { $ENDIF} { $ENDIF} ;
5757
58+ { SDL2-for-Pascal: SDL_mutexP macro ignored; no benefit for the Pascal units }
59+ // C: #define SDL_mutexP(m) SDL_UnlockMutex(m)
60+
5861{ **
5962 * Try to lock a mutex without blocking.
6063 *
@@ -93,6 +96,9 @@ function SDL_TryLockMutex(mutex: PSDL_Mutex): cint; cdecl;
9396function SDL_UnlockMutex (mutex: PSDL_Mutex): cint; cdecl;
9497 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_UnlockMutex' { $ENDIF} { $ENDIF} ;
9598
99+ { SDL2-for-Pascal: SDL_mutexV macro ignored; no benefit for the Pascal units }
100+ // C: #define SDL_mutexV(m) SDL_UnlockMutex(m)
101+
96102{ **
97103 * Destroy a mutex created with SDL_CreateMutex().
98104 *
You can’t perform that action at this time.
0 commit comments