OlinCoin
Test
list.h
1#pragma once
2
3#include <stdlib.h>
4
5typedef struct {
6 void **data;
7 size_t len;
8 size_t total_len;
9 size_t element_size;
10} List;
11
12List *build_list(size_t element_size);
13void list_append(List *list, void *entry);
14void *list_pop(List *list);
15void free_list(List *list);
Definition: list.h:5