mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 11:42:28 +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
@@ -18,7 +18,7 @@ when RESIZE_LIB != "" {
|
||||
}
|
||||
}
|
||||
|
||||
foreign import stbi {
|
||||
foreign import lib {
|
||||
RESIZE_LIB when RESIZE_LIB != "" else "system:stb_image_resize",
|
||||
}
|
||||
|
||||
|
||||
2
vendor/stb/image/stb_image_write.odin
vendored
2
vendor/stb/image/stb_image_write.odin
vendored
@@ -18,7 +18,7 @@ when WRITE_LIB != "" {
|
||||
}
|
||||
}
|
||||
|
||||
foreign import stbi {
|
||||
foreign import stbiw {
|
||||
WRITE_LIB when WRITE_LIB != "" else "system:stb_image_write",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user