LuaHelpers::Push(ref)

This commit is contained in:
Glenn Maynard
2006-11-14 00:11:23 +00:00
parent 11e8d4b4c4
commit e66a2ebe38
+8
View File
@@ -193,6 +193,14 @@ void LuaTable::Set( Lua *L, const RString &sKey )
lua_settop( L, iTop-1 ); // remove all of the above
}
namespace LuaHelpers
{
template<> void Push<LuaReference>( lua_State *L, const LuaReference &Object )
{
Object.PushSelf( L );
}
}
/*
* (c) 2005 Glenn Maynard, Chris Danford
* All rights reserved.