Skip to content

Commit

Permalink
Merge branch 'Barinzaya-fix_odin_size_intptr_mapping'
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Nov 20, 2024
2 parents 30a1eb0 + 485fba6 commit 8c989e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindgen/gen_odin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8c989e3

Please sign in to comment.