summaryrefslogtreecommitdiff
path: root/src/puzzles/puzzle.h
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-08-10 15:12:10 +0500
committerphysick <mynameisgennadiy@vk.com>2026-08-10 15:12:10 +0500
commit40d500949686c3b2ea229eb3c7fe4e2f252785af (patch)
tree0b0575c32fdd76a3dc83c3007886a0b83eeb1973 /src/puzzles/puzzle.h
parent7ec77a546f8aaa0a77c1cd1cff23f929a9fdca87 (diff)
list support
Diffstat (limited to 'src/puzzles/puzzle.h')
-rw-r--r--src/puzzles/puzzle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/puzzles/puzzle.h b/src/puzzles/puzzle.h
index 70c6cad..acf5a17 100644
--- a/src/puzzles/puzzle.h
+++ b/src/puzzles/puzzle.h
@@ -14,6 +14,12 @@ typedef struct {
void *value;
} PuzzleIO;
+// Represents a WREN_TYPE_LIST in PuzzleIO
+typedef struct {
+ size_t length;
+ PuzzleIO *elements;
+} PuzzleListIO;
+
typedef struct {
// https://wren.io/embedding/calling-wren-from-c.html#setting-up-a-receiver
char *RecieverName;