summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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;
};