From 354f316b89aee6faac2995693a93ffa2fe0ca482 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Sun, 21 Oct 2018 13:18:36 +0200 Subject: [PATCH] CIMGUI_DEFINE_ENUMS_AND_STRUCTS in README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1e306de..87ea4f4 100644 --- a/README.md +++ b/README.md @@ -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. # 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: * 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