aboutsummaryrefslogtreecommitdiff
path: root/src/reg.c
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
commita571dd1ac9fc4d46e0bbc95a3ab88f52ee37b1a1 (patch)
treedbaffb5e488e0d0cf7f2fcb598ee2db1515aab05 /src/reg.c
parent81b85b557c308ff743b7b83f2b823e508eef54eb (diff)
starting threads and deep copy metatables
Diffstat (limited to 'src/reg.c')
-rw-r--r--src/reg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reg.c b/src/reg.c
index a364813..966537f 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -5,6 +5,7 @@
#include "io.h"
#include "math.h"
#include "net.h"
+#include "thread.h"
#include <signal.h>
#include <stdlib.h>
@@ -44,6 +45,7 @@ int luaopen_llib(lua_State* L) {
lreg("math", math_function_list);
lreg("config", config_function_list);
lreg("net", net_function_list);
+ lreg("thread", thread_function_list);
//make llib global
lua_setglobal(L, "llib");