__type -> type

This commit is contained in:
Glenn Maynard
2005-06-23 08:47:34 +00:00
parent 36794f6d5f
commit 14fd08abc1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ bool CheckLuaObjectType( lua_State *L, int narg, const char *szType )
int iMetatable = lua_gettop(L);
/* Look up the type name. */
lua_pushstring( L, "__type" );
lua_pushstring( L, "type" );
lua_rawget( L, iMetatable );
const char *szActualType = lua_tostring( L, -1 );
+1 -1
View File
@@ -82,7 +82,7 @@ public:
lua_settable( L, methods_metatable );
}
lua_pushliteral( L, "__type" );
lua_pushliteral( L, "type" );
lua_pushstring( L, m_sClassName );
lua_settable( L, methods_metatable );