aboutsummaryrefslogtreecommitdiff
path: root/src/LuaRuntime.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-12 10:44:40 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-12 10:47:34 +0530
commitc0ee5203201d4ddf4ed560f856cb0da958935fc6 (patch)
tree443a3dc58372e3fbeb7ae7945551c4a1ae936af8 /src/LuaRuntime.hpp
parent8c5e75578b063a4fb64dc7ecef4851a860d7674d (diff)
downloadnull-browser-c0ee5203201d4ddf4ed560f856cb0da958935fc6.tar.gz
null-browser-c0ee5203201d4ddf4ed560f856cb0da958935fc6.zip
Rename term tab with view
Diffstat (limited to '')
-rw-r--r--src/LuaRuntime.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/LuaRuntime.hpp b/src/LuaRuntime.hpp
index e73650c..64bb1f1 100644
--- a/src/LuaRuntime.hpp
+++ b/src/LuaRuntime.hpp
@@ -14,11 +14,11 @@
#define PROJECT_LUA_PATH ""
#endif
-#define preserve_top(STATE, BODY) \
- { \
- const int __top = lua_gettop(STATE); \
- BODY; \
- lua_settop(STATE, __top); \
+#define preserve_top(STATE, BODY) \
+ { \
+ const int __top = lua_gettop(STATE); \
+ BODY; \
+ lua_settop(STATE, __top); \
};
class LuaRuntime : public QObject {
@@ -66,11 +66,11 @@ protected:
static int lua_event_register(lua_State *state);
static int lua_keymap_set(lua_State *state);
static int lua_open_url(lua_State *state);
- static int lua_tab_close(lua_State *state);
- static int lua_tab_create(lua_State *state);
- static int lua_tab_current(lua_State *state);
- static int lua_tab_list(lua_State *state);
- static int lua_tab_select(lua_State *state);
+ static int lua_view_close(lua_State *state);
+ static int lua_view_create(lua_State *state);
+ static int lua_view_current(lua_State *state);
+ static int lua_view_list(lua_State *state);
+ static int lua_view_select(lua_State *state);
private:
lua_State *state;