aboutsummaryrefslogtreecommitdiff
path: root/stdlib/threads.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-29 18:09:12 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-29 18:09:12 -0500
commitf66f8ad7119207b99f00ea2ea389550ee65db5b3 (patch)
tree5b5a7c887b311e3de2f2cb293b1228598c5b9eb1 /stdlib/threads.c
parent4b5e4cd1f21582f5e5fa682ab4e4bff252963468 (diff)
Add serialization and deserialization
Diffstat (limited to 'stdlib/threads.c')
-rw-r--r--stdlib/threads.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/threads.c b/stdlib/threads.c
index 860b4880..c5690111 100644
--- a/stdlib/threads.c
+++ b/stdlib/threads.c
@@ -14,6 +14,7 @@
#include "arrays.h"
#include "datatypes.h"
+#include "metamethods.h"
#include "rng.h"
#include "text.h"
#include "threads.h"
@@ -71,6 +72,8 @@ public const TypeInfo_t Thread$info = {
.metamethods={
.as_text=Thread$as_text,
.is_none=Thread$is_none,
+ .serialize=cannot_serialize,
+ .deserialize=cannot_deserialize,
},
};