aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_list.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-10 00:28:14 -0400
committeriamcheeseman <[email protected]>2026-05-10 00:28:14 -0400
commit576bd27e11ec70bdbd1b9a644d2e227b57586337 (patch)
tree2dc41e3f88bb95568f73ee372fc35512afcbcf9b /teensy/teensy_list.c
parent9ed5698b3c74c7ce1784d3bebe2aa73d5a0c319d (diff)
i ain't splitting alla this up
Diffstat (limited to 'teensy/teensy_list.c')
-rw-r--r--teensy/teensy_list.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/teensy/teensy_list.c b/teensy/teensy_list.c
new file mode 100644
index 0000000..c8035b8
--- /dev/null
+++ b/teensy/teensy_list.c
@@ -0,0 +1,12 @@
+#include "teensy_list.h"
+
+#include <stdio.h>
+#include <assert.h>
+
+void *ty_list_create(void)
+{
+ struct ty_list_header *header = ty_alloc(sizeof(struct ty_list_header));
+ header->cap = 0;
+ header->len = 0;
+ return (void*)(header + 1);
+}