summaryrefslogtreecommitdiff
path: root/include/BLua.h
diff options
context:
space:
mode:
authorpixel <pixel>2007-05-30 22:36:31 +0000
committerpixel <pixel>2007-05-30 22:36:31 +0000
commita0473d37f726f7bedbdeea511a6cc53744cb1ef6 (patch)
tree1810b6524f1f696081af85ed3f557c0f8ca525e7 /include/BLua.h
parentd12ead8fae75e5ad38676e084317516831e6214c (diff)
Trying to work around a spawn-Domain-from-thread issue, but doesn't really seem to fix it.
Diffstat (limited to 'include/BLua.h')
-rw-r--r--include/BLua.h5
1 files changed, 4 insertions, 1 deletions
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<lua_State *, Lua *> lualist;
bool _protected, _is_thread;
void dumpvars_r(Handle *, int, int = 0) throw (GeneralException);
+ Lua * father;
friend class LuaStatics;
};