mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-14 21:48:30 +01:00
CIMGUI_DEFINE_ENUMS_AND_STRUCTS in README.md
This commit is contained in:
@@ -32,6 +32,7 @@ Notes:
|
|||||||
* as a result some files are generated: `cimgui.cpp` and `cimgui.h` for compiling and some lua/json files with information about the binding: `definitions.json` with function info, `structs_and_enums.json` with struct and enum info, `impl_definitions.json` with functions from the implementations info.
|
* as a result some files are generated: `cimgui.cpp` and `cimgui.h` for compiling and some lua/json files with information about the binding: `definitions.json` with function info, `structs_and_enums.json` with struct and enum info, `impl_definitions.json` with functions from the implementations info.
|
||||||
|
|
||||||
# generate binding
|
# generate binding
|
||||||
|
* C interface is exposed by cimgui.h when you define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||||
* with your prefered language you can use the lua or json files generated as in:
|
* with your prefered language you can use the lua or json files generated as in:
|
||||||
* https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat (with lua code generation in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/class_gen.lua)
|
* https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat (with lua code generation in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/class_gen.lua)
|
||||||
* https://github.com/mellinoe/ImGui.NET/tree/autogen/src/CodeGenerator
|
* https://github.com/mellinoe/ImGui.NET/tree/autogen/src/CodeGenerator
|
||||||
|
Reference in New Issue
Block a user