summaryrefslogtreecommitdiff
path: root/include/luaglue/LuaVM.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/luaglue/LuaVM.hpp')
-rwxr-xr-xinclude/luaglue/LuaVM.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/luaglue/LuaVM.hpp b/include/luaglue/LuaVM.hpp
index 6055fd4..ec27a4f 100755
--- a/include/luaglue/LuaVM.hpp
+++ b/include/luaglue/LuaVM.hpp
@@ -36,12 +36,16 @@ class LuaVM
void initialize( );
int findValue( const std::string &key );
-
- void dumpStackElement( lua_State *l, int i, int indent = 0 );
+ static void dumpStackElement( lua_State *l, int i, int indent = 0 );
+
private:
lua_State *m_lua;
std::string m_sourceFilename;
+
+ public:
+ LUAGLUE_DLL_VISIBLE static void dumpStack( lua_State *l );
+
};
#endif