diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/BLua.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/BLua.h b/include/BLua.h index f416c80..da09ef4 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.h,v 1.24 2005-03-31 16:23:05 pixel Exp $ */ +/* $Id: BLua.h,v 1.25 2005-10-13 16:00:37 pixel Exp $ */ #ifndef __BLUA_H__ #define __BLUA_H__ @@ -37,6 +37,8 @@ extern "C" { #include <Exceptions.h> #include <Handle.h> +#undef isnumber + //!Basic LUA engine. /*! This will create an LUA context, and provide mechanisms to interact with it. @@ -217,8 +219,8 @@ struct lua_functypes_t { template <class T> class LuaHelpers : public Base { public: - static int method_multiplex(int caller, lua_State * _L, int (*proceed)(Lua * L, int n, T * obj, int caller), int (*proceed_static)(Lua * L, int n, int caller), lua_functypes_t * tab, bool method) { - Lua * L = Lua::find(_L); + static int method_multiplex(int caller, lua_State * __L, int (*proceed)(Lua * L, int n, T * obj, int caller), int (*proceed_static)(Lua * L, int n, int caller), lua_functypes_t * tab, bool method) { + Lua * L = Lua::find(__L); int add = method ? 1 : 0; int n = L->gettop() - add; T * obj = 0; |