diff options
Diffstat (limited to 'include/BLua.h')
-rw-r--r-- | include/BLua.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/BLua.h b/include/BLua.h index da09ef4..baaf9db 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.25 2005-10-13 16:00:37 pixel Exp $ */ +/* $Id: BLua.h,v 1.26 2005-12-01 14:29:20 pixel Exp $ */ #ifndef __BLUA_H__ #define __BLUA_H__ @@ -72,6 +72,7 @@ class Lua : public Base { void gettable(int = -2, bool raw = false); void setvar(); int gettop(); + void getglobal(const String &) throw (GeneralException); void push_lua_context(); void error(const String &); int type(int = -1); @@ -93,6 +94,7 @@ class Lua : public Base { Lua * tothread(int = -1); void load(Handle *, bool docall = true) throw (GeneralException); void dump(Handle *, bool strip = true); + void dumpvars(Handle *, const String &, int = -1); Lua * thread(); int yield(int nargs = 0); int resume(int nresults = 0); @@ -113,6 +115,7 @@ class Lua : public Base { lua_State * L; static std::map<lua_State *, Lua *> lualist; bool _protected; + void dumpvars_r(Handle *, int, int = 0) throw (GeneralException); }; class LuaObject : public Base { |