diff options
| author | ame <[email protected]> | 2026-06-30 04:30:10 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2026-06-30 04:30:10 -0500 |
| commit | 7f96376ffdd63397a4265975ec4018c4465094f9 (patch) | |
| tree | 28c1c9fc949f08d6828dc5d86604931bb741a4dc /src/table.h | |
| parent | fb6a20845fed68f1fc3bb5722bb1f5f7f9469d95 (diff) | |
table.contains and some check safteystate-copy-changes
Diffstat (limited to 'src/table.h')
| -rw-r--r-- | src/table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table.h b/src/table.h index b114cd2..27cbaf7 100644 --- a/src/table.h +++ b/src/table.h @@ -7,6 +7,7 @@ void i_shuffle(double*, size_t); uint64_t i_len(lua_State*,int); +int l_contains(lua_State*); int l_len(lua_State*); //[double+int] -> i int l_reverse(lua_State*); //[double+int] -> arr[N] int l_max(lua_State*); //[double+int] -> i @@ -28,6 +29,7 @@ int l_dup(lua_State*); #warning "docs needed here" static const luaL_Reg table_function_list [] = { + {"contains",l_contains}, {"len",l_len}, {"reverse",l_reverse}, //no docs {"max",l_max}, //no docs |
