mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Make love::Type handle type names
TODO: Fix undefined behaviour in luax_register_type, you can't use a va_list after a reference type --HG-- branch : dynamiccore2
This commit is contained in:
@@ -131,7 +131,7 @@ const luaL_Reg w_GlyphData_functions[] =
|
||||
|
||||
extern "C" int luaopen_glyphdata(lua_State *L)
|
||||
{
|
||||
return luax_register_type(L, GlyphData::type, "GlyphData", w_Data_functions, w_GlyphData_functions, nullptr);
|
||||
return luax_register_type(L, GlyphData::type, w_Data_functions, w_GlyphData_functions, nullptr);
|
||||
}
|
||||
|
||||
} // font
|
||||
|
||||
Reference in New Issue
Block a user