From c8994b27f92deb2a399d57319476357ce8aee53e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 23 Jun 2005 09:02:04 +0000 Subject: [PATCH] cleanup --- stepmania/src/LuaBinding.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/LuaBinding.h b/stepmania/src/LuaBinding.h index 4ebc4a1f04..bdf7c07faa 100644 --- a/stepmania/src/LuaBinding.h +++ b/stepmania/src/LuaBinding.h @@ -171,9 +171,9 @@ private: template<> const char *Luna::m_sBaseClassName = #B; \ template<> Luna::RegTypeVector* Luna::s_pvMethods = NULL; \ static Luna##T registera; \ -void T::PushSelf( lua_State *L ) { Luna##T::Push( L, this ); } \ -/* Call PushSelf, so we always call the derived Luna::Push. */ \ -namespace LuaHelpers { template<> void Push( T *pObject, lua_State *L ) { pObject->PushSelf( L ); } } + void T::PushSelf( lua_State *L ) { Luna##T::Push( L, this ); } \ + /* Call PushSelf, so we always call the derived Luna::Push. */ \ + namespace LuaHelpers { template<> void Push( T *pObject, lua_State *L ) { pObject->PushSelf( L ); } } #define ADD_METHOD( method_name ) AddMethod( #method_name, method_name );