From a0473d37f726f7bedbdeea511a6cc53744cb1ef6 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 30 May 2007 22:36:31 +0000 Subject: Trying to work around a spawn-Domain-from-thread issue, but doesn't really seem to fix it. --- include/BLua.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/BLua.h') diff --git a/include/BLua.h b/include/BLua.h index 0894d24..eed9c2b 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.36 2007-05-30 11:57:08 pixel Exp $ */ +/* $Id: BLua.h,v 1.37 2007-05-30 22:36:31 pixel Exp $ */ #ifndef __BLUA_H__ #define __BLUA_H__ @@ -128,6 +128,8 @@ class Lua : public Base { void setgcthreshold(int = 0); int getgcthreshold(); int getgccount(); + + Lua * Father(); protected: virtual Lua * spawn_from_thread(lua_State *); @@ -139,6 +141,7 @@ class Lua : public Base { static std::map lualist; bool _protected, _is_thread; void dumpvars_r(Handle *, int, int = 0) throw (GeneralException); + Lua * father; friend class LuaStatics; }; -- cgit v1.2.3