-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ig prefix poll #178
Comments
In my opinion (as a user of the C library), switching to a new namespace prefix would be a good thing. I always found the It's common practice to have functions/types exposed by a c library starting with I wouldn't object to doing a bit of search and replace to change existing code I have, but I suppose some people might, so having an optional compatibility header would be good (or some macros in cimgui.h, but toggleable with a #define). |
i prefer cim_ and im_. I would also vouch for a different naming convention, since we're using c. e.g. cim_some_namespace_less_function(), im_rect_add_vec2(). Take a look at cglm. |
whatever the default decision ends up, may also want to let the prefix be a define as well |
Hello,
In #175 it was raised the possibility of using
c
prefix for all functions without a namespace andcImGui_
prefix for all functions that belong toImGui
namespace.I would like to know which would be the implications for the several use cases of cimgui: As a bridge to other languages or as a C library per se.
The text was updated successfully, but these errors were encountered: