summaryrefslogtreecommitdiff
path: root/include/BLua.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/BLua.h')
-rw-r--r--include/BLua.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/BLua.h b/include/BLua.h
index 911b17c..1f746ec 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.10 2003-12-14 21:13:32 pixel Exp $ */
+/* $Id: BLua.h,v 1.11 2003-12-14 22:04:33 pixel Exp $ */
#ifndef __BLUA_H__
#define __BLUA_H__
@@ -93,7 +93,7 @@ class LuaObject : public Base {
void pushdestruct(Lua *) throw (GeneralException);
protected:
virtual void pushmembers(Lua *) = 0;
- void pushme(Lua *, void *);
+ void pushme(Lua *, void *, bool = true);
static void pushit(Lua *, const String &, lua_CFunction);
static void pushmeta(Lua *, const String &, lua_CFunction);
bool wantdestruct, pushed;
@@ -196,7 +196,7 @@ class LuaHelpers : public Base {
if (L->istable(i + 1 + add)) {
L->push("__obj");
L->gettable(i + 1 + add);
- invalid = !L->islightuserdata();
+ invalid = !L->isuserdata();
L->pop();
} else {
invalid = !L->isnil(i + 1 + add);