sonoro1234 1e5ce71257 all output to generated folder and test HAVE_GCC.
cimgui and cimgui_auto versions
2018-06-27 15:21:48 +02:00
2015-04-07 19:12:56 +02:00
2015-04-07 16:06:21 +02:00
2018-06-25 16:08:21 +02:00
2017-05-30 07:14:57 +02:00

cimgui Build Status

sample

This is a thin c-api wrapper programmatically generated for the excellent C++ intermediate gui imgui. All functions are programmatically wrapped except contructors, destructors and ImVector.(Unless someone find a use case for them) Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in bindings creation, definitions.lua with function definitions information and structs_and_enums.lua. This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see D-binding)

Notes:

  • currently this wrapper is based on version 1.62WIP of imgui
  • does not compile with pure C compiler yet (for writing bindings in languages that are able to use C-ABI it is enough though, see D-bindings)

auto binding generation

usage

  • clone
  • make using makefile on linux/osx
  • use whatever method is in ImGui c++ namespace in the original imgui.h by prepending ig
  • methods have the same parameter list and return values (where possible)

example bindings based on cimgui

Description
Languages
Lua 73.2%
C 16.1%
C++ 9.6%
CMake 0.9%
Shell 0.1%