Add bindings for C3 Lang (#3456)

* Added bindings for C3 lang

* Fix sub-struct generation. Fix empty struct. Fix doc comments. These issues didn't allow the c3 compilation

* Add @extern for each function to match C API

* Add gen suffix to keep naming consistency
This commit is contained in:
Jaziel Guerrero
2025-08-30 22:44:28 -04:00
committed by GitHub
parent 7bb77b5ce9
commit 9dfcab69f7
3 changed files with 3609 additions and 0 deletions

View File

@@ -83,6 +83,9 @@ newaction {
local ziggen = require "bindings-zig"
ziggen.write(ziggen.gen(), "../bindings/zig/bgfx.zig")
local c3gen = require "bindings-c3"
c3gen.write(c3gen.gen(), "../bindings/c3/bgfx.c3")
end
os.exit()