aboutsummaryrefslogtreecommitdiff
path: root/bindgen
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* bindings: add a reminder to bindgen/README.md about preserving commentsAndre Weissflog2023-12-101-0/+2
|
* rust: Fix manual_slice_size_calculation lint.Bruce Mitchener2023-12-091-1/+1
| | | | See: https://rust-lang.github.io/rust-clippy/master/index.html#/manual_slice_size_calculation
* Using const for local variables that are never mutatedabhirag2023-12-012-1/+2
|
* Update generated Nim converter assertsgeotre2023-11-241-3/+3
|
* Update gen_nim.pygeotre2023-11-211-0/+2
|
* fix rust bindings generationAndre Weissflog2023-09-231-1/+1
|
* add support to gen_rust.py for function pointers that return a primitive typeDaniel Hooper2023-09-191-0/+2
|
* 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
* use addr insteadPixeller2023-06-231-2/+2
| | | | | warning:: `unsafeAddr` is a deprecated alias for `addr`, use `addr` instead.
* gen_nim.py: add new sg_load_action and sg_store_action name special casesAndre Weissflog2023-05-191-0/+2
|
* gen_rust.py: special case SAPP_MODIFIER_* constants to u32 (fixes ↵Andre Weissflog2023-03-311-2/+9
| | | | https://github.com/floooh/sokol-rust/issues/5)
* Integrate automatic sokol-rust bindings generation. (#811)Andre Weissflog2023-03-293-10/+897
|
* add sokol_log.h to nim bindingsAndre Weissflog2023-02-121-15/+27
|
* add sokol_log.h to odin bindings generatorAndre Weissflog2023-02-121-0/+2
|
* add sokol_log.h to zig bindingsAndre Weissflog2023-02-112-23/+35
|
* 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-032-2/+8
|\
| * Merge branch 'master' of github.com:kcbanner/sokol into zig-0.10.0Andre Weissflog2022-10-162-2/+8
| |\
| | * 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-272-2/+8
| | |
* | | Fix language bindings:Andre Weissflog2022-11-034-187/+123
| | | | | | | | | | | | | | | - 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
* | | bindings generation: dump intermediate JSON for easier debuggingAndre Weissflog2022-11-031-0/+2
| | |
* | | gen_nim.py: fix case warnings in nim 1.6.8Andre Weissflog2022-10-181-4/+4
|/ /
* / Remove wrapper procs for Odin bindings. Use c.int type (#719)Phil H2022-10-161-70/+28
|/ | | | | | | | | * gen odin bindings without wrapper procs * use c.int * remove unused gen procs * use #any_int for binding c.int parameters
* gen_odin.py: add pthread to linux system librariesAndre Weissflog2022-08-021-3/+3
|
* gen_odin.py: add dl to linux system librariesAndre Weissflog2022-08-021-1/+1
|
* gen_odin.py: fix linux system library linkingAndre Weissflog2022-08-021-3/+3
|
* gen_odin.py: fix linux library namesAndre Weissflog2022-08-021-2/+2
|
* gen_odin.py: add GL vs Metal/D3D11 backend selection via defineAndre Weissflog2022-07-281-16/+31
|
* gen_odin.py: inject sdtx.printf() wrapper functionAndre Weissflog2022-07-261-2/+12
|
* gen_odin.py: don't remap sgl_rad() and sgl_deg()Andre Weissflog2022-07-251-2/+0
|
* gen_odin.py: fix output directory structureAndre Weissflog2022-07-231-5/+9
|
* gen_odin.py: rename 'private' struct field to '_'Andre Weissflog2022-07-201-1/+5
|
* gen_odin.py: map C bool to Odin bool (not b8), get rid of semicolonsAndre Weissflog2022-07-201-8/+8
|
* map SGL_NO_ERROR to SGL_ERROR_NO_ERRORAndre Weissflog2022-07-203-0/+3
|
* gen_odin.py: put system library dependencies into foreign importsAndre Weissflog2022-07-191-10/+65
|
* gen_odin.py: fix .a vs .lib c-library importsAndre Weissflog2022-07-191-4/+4
|
* gen_odin.py: more general fixesAndre Weissflog2022-07-191-12/+19
|
* gen_zig.py: minor code cleanupAndre Weissflog2022-07-191-1/+1
|
* gen_nim.py: fix type mapping for sg_context_desc.pixel/depth_formatAndre Weissflog2022-07-191-1/+3
|
* gen_odin.py: fix C library importsAndre Weissflog2022-07-191-2/+20
|
* gen_odin.py: replace reserved keyword 'context' with 'ctx'Andre Weissflog2022-07-171-1/+3
|
* gen_odin.py: generate structsAndre Weissflog2022-07-171-68/+87
|
* gen_zig.py: minor code cleanupAndre Weissflog2022-07-171-1/+1
|
* gen_odin.py: initial function and enum bindingsAndre Weissflog2022-07-161-22/+64
|
* gen_zig.py: some minor code cleanupAndre Weissflog2022-07-161-5/+5
|