|
1 | 1 | // based on "sdl_mutex.h" (2.0.14) |
2 | | -{ TODO : Add type definitions (see todos below). } |
3 | 2 |
|
4 | 3 | {** |
5 | 4 | * Synchronization functions which can time out return this value |
|
20 | 19 | type |
21 | 20 | {*The SDL mutex structure, defined in SDL_sysmutex.c *} |
22 | 21 | PPSDL_Mutex = ^PSDL_Mutex; |
23 | | - PSDL_Mutex = Pointer; //todo! |
| 22 | + PSDL_Mutex = Type Pointer; |
24 | 23 |
|
25 | 24 | {** |
26 | 25 | * Create a mutex, initialized unlocked. |
@@ -71,7 +70,7 @@ procedure SDL_DestroyMutex(mutex: PSDL_Mutex); cdecl; |
71 | 70 | type |
72 | 71 | {* The SDL semaphore structure, defined in SDL_sem.c *} |
73 | 72 | PPSDL_Sem = ^PSDL_Sem; |
74 | | - PSDL_Sem = Pointer; //todo! |
| 73 | + PSDL_Sem = Type Pointer; |
75 | 74 |
|
76 | 75 | {** |
77 | 76 | * Create a semaphore, initialized with value, returns NULL on failure. |
@@ -128,15 +127,13 @@ function SDL_SemPost(sem: PSDL_Sem): cint; cdecl; |
128 | 127 | function SDL_SemValue(sem: PSDL_Sem): cuint32; cdecl; |
129 | 128 | external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_SemValue' {$ENDIF} {$ENDIF}; |
130 | 129 |
|
131 | | - {*Semaphore functions*} |
132 | | - |
133 | 130 | {** |
134 | 131 | * Condition variable functions |
135 | 132 | * } |
136 | 133 | type |
137 | 134 | {* The SDL condition variable structure, defined in SDL_cond.c *} |
138 | 135 | PPSDL_Cond = ^PSDL_Cond; |
139 | | - PSDL_Cond = Pointer; //todo!! |
| 136 | + PSDL_Cond = Type Pointer; |
140 | 137 |
|
141 | 138 | {** |
142 | 139 | * Create a condition variable. |
|
0 commit comments