Add sdl3_loadso.odin
This commit is contained in:
1 parent
77ba5faf09
commit
a7d57e69ec
1 file changed
+10
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
package sdl3
|
||||||
|
|
||||||
|
SharedObject :: struct {}
|
||||||
|
|
||||||
|
@(default_calling_convention="c", link_prefix="SDL_", require_results)
|
||||||
|
foreign lib {
|
||||||
|
LoadObject :: proc(sofile: cstring) -> ^SharedObject ---
|
||||||
|
LoadFunction :: proc(handle: ^SharedObject, name: cstring) -> FunctionPointer ---
|
||||||
|
UnloadObject :: proc(handle: ^SharedObject) ---
|
||||||
|
}
|
||||||
Reference in new issue
Block a user