Browse Source

Merge pull request #3379 from atomicptr/task/add-sdl-sempost

Add missing SDL2_SemPost binding
gingerBill 1 year ago
parent
commit
8a98ee800a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vendor/sdl2/sdl_mutex.odin

+ 1 - 0
vendor/sdl2/sdl_mutex.odin

@@ -34,6 +34,7 @@ foreign lib {
 	SemWait          :: proc(s: ^sem) -> c.int ---
 	SemTryWait       :: proc(s: ^sem) -> c.int ---
 	SemWaitTimeout   :: proc(s: ^sem, ms: u32) -> c.int ---
+	SemPost          :: proc(s: ^sem) -> c.int ---
 	SemValue         :: proc(s: ^sem) -> u32 ---
 
 	CreateCond      :: proc() -> ^cond ---