diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-11-07 17:42:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 17:42:28 +0100 |
| commit | eed75175c077f83893786d27bd9b24567c0d79b5 (patch) | |
| tree | 8c83e13c128c39748e1aef09839aa0b91e1a7c30 /bindgen/gen_rust.py | |
| parent | 76ded2def8d9914c1c7e1e6e7bdd8970c7b6e7c4 (diff) | |
| parent | 71d744d5c4c6fe8b14a3af490525a07758fe8967 (diff) | |
Merge pull request #1111 from floooh/issue1037_bindings_cleanupbindings-cleanup
sokol_gfx.h resource bindings cleanup (issue #1037)
Diffstat (limited to 'bindgen/gen_rust.py')
| -rw-r--r-- | bindgen/gen_rust.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bindgen/gen_rust.py b/bindgen/gen_rust.py index 59a2b672..d75a7745 100644 --- a/bindgen/gen_rust.py +++ b/bindgen/gen_rust.py @@ -58,7 +58,7 @@ overrides = { "type": "_type", "ref": "_ref", - "sg_apply_uniforms.ub_index": "uintptr_t", + "sg_apply_uniforms.ub_slot": "uintptr_t", "sg_draw.base_element": "uintptr_t", "sg_draw.num_elements": "uintptr_t", "sg_draw.num_instances": "uintptr_t", @@ -83,13 +83,6 @@ overrides = { "sapp_keycode::SAPP_KEYCODE_7": "SAPP_KEYCODE_NUM7", "sapp_keycode::SAPP_KEYCODE_8": "SAPP_KEYCODE_NUM8", "sapp_keycode::SAPP_KEYCODE_9": "SAPP_KEYCODE_NUM9", - - # "sgl_error": "sgl_get_error", # 'error' is reserved in zig - # "sgl_deg": "sgl_as_degrees", - # "sgl_rad": "sgl_as_radians", - # "sg_context_desc.color_format": "int", - # "SGL_NO_ERROR": "SGL_ERROR_NO_ERROR", - # "sg_context_desc.depth_format": "int", } prim_types = { |