mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Merged default into minor
--HG-- branch : minor
This commit is contained in:
@@ -390,7 +390,10 @@ void luax_rawnewtype(lua_State *L, const char *name, bits flags, love::Object *o
|
||||
void luax_pushtype(lua_State *L, const char *name, bits flags, love::Object *object)
|
||||
{
|
||||
if (object == nullptr)
|
||||
{
|
||||
lua_pushnil(L);
|
||||
return;
|
||||
}
|
||||
|
||||
// Fetch the registry table of instantiated types.
|
||||
luax_getregistry(L, REGISTRY_TYPES);
|
||||
|
||||
Reference in New Issue
Block a user