summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2005-10-13 16:00:37 +0000
committerpixel <pixel>2005-10-13 16:00:37 +0000
commit0b7cc6372fd55d7f97122db97f6f8a2f5ef33809 (patch)
treec2d330244d0f656c0a613ee0f75b81518bc6fa49 /include
parent2291269e6a2226d65ea5008136c3d27eaed5c019 (diff)
Fixing various (fucking) macos X issues.
Diffstat (limited to 'include')
-rw-r--r--include/BLua.h8
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;