mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-28 09:13:55 +00:00
Fix foreign import names
This commit is contained in:
2
vendor/stb/image/stb_image_resize.odin
vendored
2
vendor/stb/image/stb_image_resize.odin
vendored
@@ -5,7 +5,7 @@ import c "core:c/libc"
|
||||
when ODIN_OS == .Windows { foreign import lib "../lib/stb_image_resize.lib" }
|
||||
else when ODIN_OS == .Linux { foreign import lib "../lib/stb_image_resize.a" }
|
||||
else when ODIN_OS == .Darwin { foreign import lib "../lib/darwin/stb_image_resize.a" }
|
||||
else { foreign import stbi "system:stb_image_resize" }
|
||||
else { foreign import lib "system:stb_image_resize" }
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
2
vendor/stb/image/stb_image_write.odin
vendored
2
vendor/stb/image/stb_image_write.odin
vendored
@@ -5,7 +5,7 @@ import c "core:c/libc"
|
||||
when ODIN_OS == .Windows { foreign import stbiw "../lib/stb_image_write.lib" }
|
||||
else when ODIN_OS == .Linux { foreign import stbiw "../lib/stb_image_write.a" }
|
||||
else when ODIN_OS == .Darwin { foreign import stbiw "../lib/darwin/stb_image_write.a" }
|
||||
else { foreign import stbi "system:stb_image_write" }
|
||||
else { foreign import stbiw "system:stb_image_write" }
|
||||
|
||||
|
||||
write_func :: proc "c" (ctx: rawptr, data: rawptr, size: c.int)
|
||||
|
||||
Reference in New Issue
Block a user