diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-05-10 12:36:18 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-05-10 12:36:18 +0200 |
| commit | ba397cdc3146bfc15479e17b8727a4cf9e5f908f (patch) | |
| tree | e7ada3e558f3409d32d4420bd2cdce430e6b3fa5 /bindgen/gen_d.py | |
| parent | 22194e77fb4bd30366d0d89678012be4568d05d9 (diff) | |
gen_d.py: replace immutable with _immutable (reserved D keyword)
Diffstat (limited to 'bindgen/gen_d.py')
| -rw-r--r-- | bindgen/gen_d.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bindgen/gen_d.py b/bindgen/gen_d.py index d5291a34..084c1f97 100644 --- a/bindgen/gen_d.py +++ b/bindgen/gen_d.py @@ -57,6 +57,7 @@ c_callbacks = [ # NOTE: syntax for function results: "func_name.RESULT" overrides = { 'ref': '_ref', + 'immutable': '_immutable', 'sgl_error': 'sgl_get_error', # 'error' is reserved in Dlang 'sgl_deg': 'sgl_as_degrees', 'sgl_rad': 'sgl_as_radians', |