Binding. Is there a reason that DEFINE_METHOD does not seem to be used much?

This commit is contained in:
Steve Checkoway
2006-08-19 08:59:43 +00:00
parent eb4b5597bf
commit 2d69aa95e6
+2
View File
@@ -314,11 +314,13 @@ public:
static int GetPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetPath(SArg(1),SArg(2)) ); return 1; }
static int GetMetricA( T* p, lua_State *L ) { p->GetMetricA(SArg(1),SArg(2))->PushSelf(L); return 1; }
DEFINE_METHOD( GetGameBaseNoteSkinName, GAME_BASE_NOTESKIN_NAME.GetValue() )
static void Register(lua_State *L)
{
ADD_METHOD( GetPath );
ADD_METHOD( GetMetricA );
ADD_METHOD( GetGameBaseNoteSkinName );
Luna<T>::Register( L );