Open ocornut opened 1 year ago
I've changed the ordering so that it puts non-Ex functions first - you change was entirely correct but just needed a couple more lines to move the attached comments onto the "other" function so that they stayed at the top of the block.
I feel the cimgui.h file would be easier to consume if non-Ex function where placed before the Ex functions.
In
mod_generate_default_argument_functions.py
I tried to replace the final statementfunction.parent.insert_after_child(function, [new_function])
withfunction.parent.insert_before_child(function, [new_function])
but comments above the function ends up in the wrong location:May be simple to fix, creating an issue so we don't forget.