src/lua-bindings/wrap_imgui_codegen.cpp
/*  get draw list associated to the current window, to append your own drawing primitives */
get draw list associated to the current window, to append your own drawing primitives
get draw list associated to the current window to append your own drawing primitives
int w_GetWindowDrawList(lua_State *L)
{
	ImDrawList* out = ImGui::GetWindowDrawList();
	auto* out_udata = static_cast<WrapImDrawList*>(lua_newuserdata(L, sizeof(WrapImDrawList)));
	out_udata->value = out;
	out_udata->init();
	luaL_getmetatable(L, "ImDrawList");
	lua_setmetatable(L, -2);
	return 1;
}
int w_GetWindowDrawList ( lua_State * L ) { ImDrawList * out = ImGui :: GetWindowDrawList ( ) ; auto * out_udata = static_cast < WrapImDrawList * > ( lua_newuserdata ( L , sizeof ( WrapImDrawList ) ) ) ; out_udata -> value = out ; out_udata -> init ( ) ; luaL_getmetatable ( L , " " ) ; lua_setmetatable ( L , -2 ) ; return 1 ; }
get draw list associated to the current window, to append your own drawing primitives
get draw list associated to the current window to append your own drawing primitives