mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +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:
@@ -33,7 +33,7 @@ DroppedFile *luax_checkdroppedfile(lua_State *L, int idx)
|
||||
|
||||
extern "C" int luaopen_droppedfile(lua_State *L)
|
||||
{
|
||||
return luax_register_type(L, DroppedFile::type, "DroppedFile", w_File_functions, nullptr);
|
||||
return luax_register_type(L, DroppedFile::type, w_File_functions, nullptr);
|
||||
}
|
||||
|
||||
} // filesystem
|
||||
|
||||
Reference in New Issue
Block a user