aboutsummaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-05-25 04:08:59 -0500
committerame <[email protected]>2024-05-25 04:08:59 -0500
commit152b605c856112b074dc7b41651424c4170fc067 (patch)
tree44c36c7d38ae68f562a0290c26bae4a79ab87f1e /src/thread.h
parentce5051ab905a1751effebb8658caf9ed15b2be62 (diff)
fixed deepcopy
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index 9dab9b1..b83db4c 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -3,6 +3,8 @@
int l_async(lua_State*);
int l_tlock(lua_State*);
int l_tunlock(lua_State*);
+int l_buffer(lua_State*);
+int l_testcopy(lua_State*);
void lib_thread_clean();
@@ -10,5 +12,7 @@ static const luaL_Reg thread_function_list [] = {
{"async",l_async},
{"lock",l_tlock},
{"unlock",l_tunlock},
+ {"buffer",l_buffer},
+ {"testcopy",l_testcopy},
{NULL,NULL}
};