fix VC7 template error: move templated methods out of LuaManager

This commit is contained in:
Chris Danford
2005-03-13 00:01:05 +00:00
parent 50196e4a0f
commit 8415b4466d
8 changed files with 45 additions and 43 deletions
+2 -2
View File
@@ -52,11 +52,11 @@ void IPreference::SetFromStack( lua_State *L )
} \
void Preference<type>::PushValue( lua_State *L ) const \
{ \
LuaManager::PushStack( m_currentValue, L ); \
LuaHelpers::PushStack( m_currentValue, L ); \
} \
void Preference<type>::SetFromStack( lua_State *L ) \
{ \
LuaManager::PopStack( m_currentValue, L ); \
LuaHelpers::PopStack( m_currentValue, L ); \
}
READFROM_AND_WRITETO( int )