Update OpenEXRCore to 3.3

This commit is contained in:
gingerBill
2025-01-31 09:04:26 +00:00
parent 539a74c2a9
commit 61cd0f4de9
12 changed files with 226 additions and 83 deletions
+2 -7
View File
@@ -1,11 +1,5 @@
package vendor_openexr
when ODIN_OS == .Windows {
foreign import lib "OpenEXRCore-3_1.lib"
} else {
foreign import lib "system:OpenEXRCore-3_1"
}
import "core:c"
#assert(size_of(c.int) == size_of(i32))
@@ -37,6 +31,7 @@ result_t :: enum i32 {
ALREADY_WROTE_ATTRS,
BAD_CHUNK_LEADER,
CORRUPT_CHUNK,
INCOMPLETE_CHUNK_TABLE,
INCORRECT_PART,
INCORRECT_CHUNK,
USE_SCAN_DEEP_WRITE,
@@ -64,4 +59,4 @@ foreign lib {
* The string should not be freed (it is compiled into the binary).
*/
get_error_code_as_string :: proc(code: result_t) -> cstring ---
}
}