Nelarius / imnodes

A small, dependency-free node editor for dear imgui
MIT License
1.97k stars 241 forks source link

Use IM_ASSERT instead of assert.h directly #139

Closed serivesmejia closed 2 years ago

serivesmejia commented 2 years ago

ImGui assertion callbacks were recently added to the imgui-java binding (https://github.com/SpaiR/imgui-java/pull/100) to make debugging easier. However, this callback doesn't get triggered with imnodes assertion errors, a quick glance over the source code reveals that imnodes is using assert.h directly instead of using the IM_ASSERT macro which is configurable, is there any possibility of making this change so debugging becomes easier in java and possibly other wrappers? Thanks!