aboutsummaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-05-03 13:40:55 -0500
committerame <[email protected]>2024-05-03 13:40:55 -0500
commit618263f6f85d08bfd85d4f0376663aa1e2f58eac (patch)
treedbaffb5e488e0d0cf7f2fcb598ee2db1515aab05 /src/thread.h
parent8740f3685e959d6477230cf4e8f33c7c93f9ea2b (diff)
starting threads and deep copy metatables
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
new file mode 100644
index 0000000..d25b448
--- /dev/null
+++ b/src/thread.h
@@ -0,0 +1,9 @@
+#include "lua.h"
+
+int l_async(lua_State*);
+
+static const luaL_Reg thread_function_list [] = {
+ {"async",l_async},
+
+ {NULL,NULL}
+};