aboutsummaryrefslogtreecommitdiff
path: root/bindgen/gen_zig.py
Commit message (Collapse)AuthorAgeFilesLines
* bindgen: add sokol_gfx_imgui.h to sokol-zig bindingsAndre Weissflog2025-12-061-0/+2
|
* gen_zig.py: include sokol-gfx trace-hooks apiAndre Weissflog2025-12-061-2/+0
|
* sokol-zig bindgen: fix asRange() helper for sentinel-terminated arrays ↵Andre Weissflog2025-10-061-5/+8
| | | | (fixes: https://github.com/floooh/sokol-zig/issues/136)
* fix sokol-zig codegen for zig 0.15.0-dev.1034+bd97b6618 (callconv and ↵Andre Weissflog2025-07-151-26/+6
| | | | removed Writer usage)
* gen_zig.py: remove zig 0.13.0 vs 0.14.0 hack in code-generated asRange helperAndre Weissflog2025-03-211-33/+14
|
* bindgen: add option to use tiger style for zigAdam Patterson2025-03-051-6/+11
| | | | | | | | | Tiger Style comes from TigerBeetle's Zig style guide that they used for their popular database (same name). "Use snake_case for function, variable, and file names. The underscore is the closest thing we have as programmers to a space, and helps to separate words and encourage descriptive names." https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md
* gen_zig.py: don't 'pub' extern C func declaration.Andre Weissflog2025-02-011-1/+1
| | | | ...that way they don't show up in the generated zig-docs.
* gen_zig.py: fix naming convention change in 0.14.0-devAndre Weissflog2025-01-181-2/+2
|
* bindgen: Include top comment in Zig & OdinAlexander Arvidsson2025-01-081-2/+5
|
* bindgen(zig): Fix empty comment leading whitespaceAlexander Arvidsson2025-01-081-2/+3
|
* bindgen: Textwrap indent and Zig commentsAlexander Arvidsson2025-01-051-2/+20
|
* cleanup bindings generation scriptsAndre Weissflog2024-10-251-1/+1
|
* Fix typos.Bruce Mitchener2024-09-011-1/+1
|
* sokol-zig: work around a breaking naming convention change in the Zig stdlibAndre Weissflog2024-08-311-14/+33
|
* sokol_imgui.h zig bindings wipAndre Weissflog2024-05-301-1/+3
|
* add asRange helper to fetch binding generationTrace Andreason2024-05-161-1/+1
|
* gen_zig.py: sfetch.zig => fetch.zigAndre Weissflog2024-05-151-1/+1
|
* fetch only zigTrace Andreason2024-05-141-2/+2
|
* remove callback typedefTrace Andreason2024-05-141-2/+0
|
* sokol fetchTrace Andreason2024-05-131-0/+6
|
* gen_zig.py: remove some cruftAndre Weissflog2024-02-191-2/+0
|
* fix sokol-zig bindingsAndre Weissflog2024-02-191-0/+2
|
* gen_zig.py: add missing writeBytesNTimes method to code-generated Writer ↵Andre Weissflog2024-01-151-1/+7
| | | | (required in latest zig-0.12.0 fmt)
* Using const for local variables that are never mutatedabhirag2023-12-011-1/+1
|
* add support to gen_zig.py for function pointers that return primitive typesDaniel Hooper2023-09-191-0/+2
|
* Update zig bindgen produce source that matches "zig fmt" styleJanne Hellsten2023-06-301-12/+12
| | | | for #39, #40
* add sokol_log.h to zig bindingsAndre Weissflog2023-02-111-23/+34
|
* gen_zig.py: remove obsolete stage1 checkkcbanner2023-01-031-4/+1
|
* gen_zig.py: remove obsolete std.meta importAndre Weissflog2023-01-031-1/+0
|
* gen_zig.py: change to stage2 fnptr syntaxkcbanner2023-01-011-1/+1
|
* Merge branch 'zig-0.10.0'Andre Weissflog2022-11-031-2/+7
|\
| * gen_zig.py: use meta.FnPtr instead of a switchkcbanner2022-08-281-2/+2
| |
| * gen_zig.py: add compile time branches for stage2 supportkcbanner2022-08-271-2/+7
| |
* | Fix language bindings:Andre Weissflog2022-11-031-81/+32
|/ | | | | - clang-14 ast-dump has changed for array types, fix works both for new and old format - start moving common helper functions into gen_util.py
* map SGL_NO_ERROR to SGL_ERROR_NO_ERRORAndre Weissflog2022-07-201-0/+1
|
* gen_zig.py: minor code cleanupAndre Weissflog2022-07-191-1/+1
|
* gen_zig.py: minor code cleanupAndre Weissflog2022-07-171-1/+1
|
* gen_zig.py: some minor code cleanupAndre Weissflog2022-07-161-5/+5
|
* bindings generation minor code cleanupAndre Weissflog2022-07-141-5/+5
|
* Update Nim bindings generation. (#675)Andre Weissflog2022-06-121-13/+12
| | | | | | - the various array converters are now code-generated - also everything else in the manually written 'extras' source files is now code-generated - code cleanup and simplifications - also some minor code cleanup in the Zig code generator script
* Language bindings generation cleanup round 1 (#674)Andre Weissflog2022-06-051-51/+41
|
* gen_zig.py: convert C-string results to Zig string slicesAndre Weissflog2022-05-311-1/+13
| | | | See: https://github.com/floooh/sokol-zig/issues/21
* Language bindings: fix new allocator callbacks (#671)Andre Weissflog2022-05-301-10/+10
| | | | | | | * remove typedef indirection for allocator callback functions * language bindings: fix allocator bindings * language bindings: replace FIXMEs and ??? with actual errors
* update nim bindgenGustav Olsson2022-05-181-0/+3
| | | | | | | | * follow nim code style * avoid keyword clashes * remove redundant functions * use nim bitfields for some consts * generate bindings for sokol_glue.h
* bindgen/gen_zig.py: zig 0.9.0 fixes (c_void => anyopaque)Andre Weissflog2021-12-211-8/+8
|
* Update gen_zig to support 0.8.0 and masterLee Cannon2021-07-201-1/+3
| | | These changes are required for zig master and are also valid for the latest stable version 0.8.0
* updated gen_x.py to use sokol_app.c, sokol_gfx.c, instead of sokol_app_gfx.cGarett Bass2021-03-271-2/+2
|
* gen_zig.py: allow function arg-type overrides, allow ignored structsAndre Weissflog2021-02-261-42/+57
|
* Language-binding-friendly API changes. (#458)Andre Weissflog2021-02-101-82/+210
| | | See: https://floooh.github.io/2021/02/07/sokol-api-overhaul.html
* bindgen: add sokol_audio.hAndre Weissflog2020-12-301-2/+6
|