dont name igGetIO overload as the generic name of function (C++ name) solves issue #289

This commit is contained in:
sonoro1234
2025-03-15 17:51:30 +01:00
parent 3530b937f1
commit c32d1c0c9b
11 changed files with 24 additions and 14 deletions

View File

@@ -24,6 +24,8 @@
#define igButton igButton_Str
#endif
#define igGetIO igGetIO_Nil
GLFWwindow *window;
// Data

View File

@@ -17,6 +17,8 @@
#define igButton igButton_Str
#endif
#define igGetIO igGetIO_Nil
GLFWwindow *window;
int main(int argc, char *argv[])

View File

@@ -18,6 +18,8 @@
#define igButton igButton_Str
#endif
#define igGetIO igGetIO_Nil
SDL_Window *window = NULL;
int main(int argc, char* argv[])

View File

@@ -26,6 +26,8 @@
#define igButton igButton_Str
#endif
#define igGetIO igGetIO_Nil
#define IM_UNUSED(_VAR) ((void)(_VAR))
#define IM_ASSERT(_EXPR) assert(_EXPR)
#define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR))))