diff options
Diffstat (limited to '')
| -rw-r--r-- | src/LuaRuntime.hpp | 20 |
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; |
