src/wren-bindings/wrap_imgui_codegen.cpp
/*  shortcut to handle the above pattern when value is an integer */
shortcut to handle the above pattern when value is an integer
shortcut to handle the above pattern when value is an integer
void w_RadioButton_Override2(WrenVM *vm)
{
	auto label = wrenExGetSlot<const char*>(vm, 1);
	auto v_box = static_cast<int>(Box::getCPP<double>(vm, 2));
	int* v = &v_box;
	auto v_button = wrenExGetSlot<int>(vm, 3);
	bool out = ImGui::RadioButton(label, v, v_button);
	wrenSetSlotBool(vm, 0, out);
	Box::setCPP<double>(vm, 2, *v);
}
void w_RadioButton_Override2 ( WrenVM * vm ) { auto label = wrenExGetSlot < const char * > ( vm , 1 ) ; auto v_box = static_cast < int > ( Box :: getCPP < double > ( vm , 2 ) ) ; int * v = & v_box ; auto v_button = wrenExGetSlot < int > ( vm , 3 ) ; bool out = ImGui :: RadioButton ( label , v , v_button ) ; wrenSetSlotBool ( vm , 0 , out ) ; Box :: setCPP < double > ( vm , 2 , * v ) ; }
shortcut to handle the above pattern when value is an integer
shortcut to handle the above pattern when value is an integer