aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_list.c
blob: c8035b8d226635560bd47721929df90f29126bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);
}