This commit is contained in:
Glenn Maynard
2006-10-06 01:07:53 +00:00
parent c2a88f95cc
commit 76dea048fc
3 changed files with 7 additions and 2 deletions
+4
View File
@@ -112,6 +112,10 @@ void LuaBinding::Register( lua_State *L )
lua_pushstring( L, GetClassName() );
lua_setfield( L, metatable, "type" );
lua_pushstring( L, GetClassName() );
LuaHelpers::PushValueFunc( L, 1 );
lua_setfield( L, metatable, "__type" ); // for luaL_pushtype
{
lua_newtable( L );
int iHeirarchyTable = lua_gettop( L );