| 498 | |
| 499 | |
| 500 | void LoadImguiBindings() { |
| 501 | if (!lState) { |
| 502 | fprintf(stderr, "You didn't assign the global lState, either assign that or refactor LoadImguiBindings and RunString\n"); |
| 503 | } |
| 504 | lua_newtable(lState); |
| 505 | luaL_setfuncs(lState, imguilib, 0); |
| 506 | PushImguiEnums(lState, "constant"); |
| 507 | lua_setglobal(lState, "imgui"); |
| 508 | } |
nothing calls this directly
no test coverage detected