expermienting with DEFINE_METHOD macro for Lua methods

This commit is contained in:
Chris Danford
2005-09-10 02:47:04 +00:00
parent 9580a5f8a4
commit 65d71a4f23
46 changed files with 408 additions and 371 deletions
+2 -1
View File
@@ -125,7 +125,8 @@ public:
static int GetName( T* p, lua_State *L ) { lua_pushstring( L, p->m_szName ); return 1; }
static void Register( Lua *L )
{
ADD_METHOD( GetName )
ADD_METHOD( GetName );
Luna<T>::Register( L );
}
};