mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add foreign imports for Darwin to vendor:stb
This commit is contained in:
+1
@@ -4,6 +4,7 @@ import c "core:c/libc"
|
||||
|
||||
when ODIN_OS == .Windows { foreign import stbiw "../lib/stb_image_write.lib" }
|
||||
when ODIN_OS == .Linux { foreign import stbiw "../lib/stb_image_write.a" }
|
||||
when ODIN_OS == .Darwin { foreign import stbiw "../lib/stb_image_write.a" }
|
||||
|
||||
|
||||
write_func :: proc "c" (ctx: rawptr, data: rawptr, size: c.int)
|
||||
|
||||
Reference in New Issue
Block a user