aboutsummaryrefslogtreecommitdiff
path: root/src/LuaRuntime.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-05 10:33:38 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-05 10:34:22 +0530
commit7e09b35b008f58809ac56184a4f83ab875c038e0 (patch)
tree3f7acdb64d2b063760fa22529826aa418e249750 /src/LuaRuntime.hpp
parent8eda8343757b2161535388387b0525e0fd56f569 (diff)
downloadnull-browser-7e09b35b008f58809ac56184a4f83ab875c038e0.tar.gz
null-browser-7e09b35b008f58809ac56184a4f83ab875c038e0.zip
Add instance manager for enforcing single instance
Diffstat (limited to '')
-rw-r--r--src/LuaRuntime.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaRuntime.hpp b/src/LuaRuntime.hpp
index 074b76a..74b7810 100644
--- a/src/LuaRuntime.hpp
+++ b/src/LuaRuntime.hpp
@@ -74,11 +74,11 @@ private:
public:
static void inspect_lua_stack(lua_State *state) {
int top = lua_gettop(state);
- qDebug() << "Lua Stack (top: " << top << "):\n";
+ qDebug() << "--- Lua Stack (top: " << top << ") ---\n";
for (int i = 1; i <= top; i++) {
int type = lua_type(state, i);
- qDebug() << i << ": " << lua_typename(state, type);
+ qDebug() << " " << i << ": " << lua_typename(state, type);
}
qDebug() << "---------------------------\n";