aboutsummaryrefslogtreecommitdiff
path: root/teensy/dyn_arr.c
blob: 46e619d6dc58ff38281f23f0f5857c6891264892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "dyn_arr.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);
}