aboutsummaryrefslogtreecommitdiff
path: root/include/lua_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lua_state.h')
-rw-r--r--include/lua_state.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/lua_state.h b/include/lua_state.h
index 6c36f37..97740e7 100644
--- a/include/lua_state.h
+++ b/include/lua_state.h
@@ -25,19 +25,6 @@ void free_lua_config(void);
} \
} while (0)
-#define lua_get_table(name, file, pop_num) \
- do { \
- lua_pushstring(L, name); \
- lua_gettable(L, -2); \
- lua_pop(L, 1); \
- if (!lua_istable(L, -1)) { \
- log_error("lua: expected type 'table' for '%s' in '%.*s'", \
- name, str_fmt(file)); \
- /*lua_pop(L, pop_num);*/ \
- return false; \
- } \
- } while (0)
-
#define lua_run_function(name, file, params, returns, pop_num) \
do { \
if (lua_pcall(L, params, returns, 0)) { \