diff --git a/bindgen/gen_odin.py b/bindgen/gen_odin.py index d2bc55df6..497d756cf 100644 --- a/bindgen/gen_odin.py +++ b/bindgen/gen_odin.py @@ -105,9 +105,9 @@ 'uint64_t': 'u64', 'float': 'f32', 'double': 'f64', - 'uintptr_t': 'u64', - 'intptr_t': 'i64', - 'size_t': 'u64' + 'uintptr_t': 'c.uintptr_t', + 'intptr_t': 'c.intptr_t', + 'size_t': 'c.size_t' } prim_defaults = {