From 0b7cc6372fd55d7f97122db97f6f8a2f5ef33809 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 13 Oct 2005 16:00:37 +0000 Subject: Fixing various (fucking) macos X issues. --- include/BLua.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') 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 #include +#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 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; -- cgit v1.2.3