src/lua-bindings/wrap_imgui_codegen.cpp
/*  by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available */
by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available
by convention we use ( - FLT_MAX - FLT_MAX ) to denote that there is no mouse available
int w_IsMousePosValid(lua_State *L)
{
	ImVec2* mouse_pos = NULL;
	ImVec2 mouse_pos_buf;
	if(!lua_isnoneornil(L, 2)) {
		mouse_pos_buf.x = luax_checkfloat(L, 1);
		mouse_pos_buf.y = luax_checkfloat(L, 2);
	}
	bool out = ImGui::IsMousePosValid(mouse_pos);
	lua_pushboolean(L, out);
	return 1;
}
int w_IsMousePosValid ( lua_State * L ) { ImVec2 * mouse_pos = NULL ; ImVec2 mouse_pos_buf ; if ( ! lua_isnoneornil ( L , 2 ) ) { mouse_pos_buf . x = luax_checkfloat ( L , 1 ) ; mouse_pos_buf . y = luax_checkfloat ( L , 2 ) ; } bool out = ImGui :: IsMousePosValid ( mouse_pos ) ; lua_pushboolean ( L , out ) ; return 1 ; }
by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available
by convention we use ( - FLT_MAX - FLT_MAX ) to denote that there is no mouse available