Working example

This commit is contained in:
2025-12-15 12:37:50 -05:00
commit 4ff4b04f06
165 changed files with 94256 additions and 0 deletions

10
sdl3/sdl3_loadso.odin Normal file
View File

@@ -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) ---
}