aboutsummaryrefslogtreecommitdiff
path: root/src/test.h
diff options
context:
space:
mode:
authoramy <[email protected]>2025-04-14 14:09:22 -0500
committerGitHub <[email protected]>2025-04-14 14:09:22 -0500
commitdd7a8af4050454c3901987bff24a77334f892cc4 (patch)
tree48c6107656e14cfbbcbb49424fc3454de850a5db /src/test.h
parent44c68aa7d51ea6b50c442bfbfa4ce11c530d2f7d (diff)
parentdc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (diff)
Merge pull request #1 from ameliasquires/new-config
updates how config values are updated, support for local values when copying states, and annotations
Diffstat (limited to 'src/test.h')
-rw-r--r--src/test.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test.h b/src/test.h
index 85c6b5b..2eceaeb 100644
--- a/src/test.h
+++ b/src/test.h
@@ -1,10 +1,17 @@
#include "lua.h"
+#include "config.h"
int ld_match(lua_State*);
int l_stack_dump(lua_State*);
+int l_upvalue_key_table(lua_State* L);
static const luaL_Reg test_function_list [] = {
{"_match", ld_match},
- {"stack_dump", l_stack_dump},
+ {"stack_dump", l_stack_dump},
+ {"upvalue_key_table", l_upvalue_key_table},
{NULL,NULL}
};
+
+static struct config test_config[] = {
+ {.type = c_none}
+};