aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_list.c
blob: 76de21a5a1ae41f08363413954d0416d87b42f99 (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)
{
    ty_List_Header *header = ty_new(ty_List_Header);
    header->cap = 0;
    header->len = 0;
    return (void*)(header + 1);
}