Split-up require_results foreign blocks
This commit is contained in:
1 parent
83542a3f04
commit
898bea8a97
6 files changed
+39
-25
No files matched your search
Vendored
+1
-1
@@ -49,7 +49,7 @@ EnumerationResult :: enum c.int {
|
||||
EnumerateDirectoryCallback :: #type proc "c" (userdata: rawptr, dirname, fname: cstring) -> EnumerationResult
|
||||
|
||||
|
||||
@(default_calling_convention="c", link_prefix="SDL_")
|
||||
@(default_calling_convention="c", link_prefix="SDL_", require_results)
|
||||
foreign lib {
|
||||
GetBasePath :: proc() -> cstring ---
|
||||
GetPrefPath :: proc(org, app: cstring) -> [^]c.char ---
|
||||
|
||||
Reference in new issue
Block a user