From 2961e4d9cb173f5d0f98397ff6326e57fc1c4fce Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 27 Sep 2006 08:47:10 +0000 Subject: [PATCH] typedef --- stepmania/src/LuaBinding.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/LuaBinding.h b/stepmania/src/LuaBinding.h index 93f28f9181..a3e1458814 100644 --- a/stepmania/src/LuaBinding.h +++ b/stepmania/src/LuaBinding.h @@ -19,11 +19,12 @@ class Luna { protected: typedef Type T; + typedef int (binding_t)(T *p, lua_State *L); struct RegType { const char *szName; - int (*mfunc)(T *p, lua_State *L); + binding_t *mfunc; }; public: