aboutsummaryrefslogtreecommitdiff
path: root/include/lua_state.h
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-08-17 13:31:42 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-08-17 13:31:42 +0000
commit7db56ed3f9d1fcb8b6780b7c30ad93904625a0a3 (patch)
tree91c6e60d239c89ce29ea23b1dd9b8fcf66ce16d7 /include/lua_state.h
parent536b651f4086fe01d0bd1f743f54ef650524b122 (diff)
fundamentals are working and beautiful
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)) { \