1#include <stdio.h>
2#include <sqlite3.h>
3
4#include "data.h"
5
6int main() {
7 Data *data = new_data(":memory:");
8
9 bootstrap(data);
10 for (int x = 0; x < 10000; x++)
11 insert(data, "LINE X");
12
13 LIST *list = select(data);
14
15 for (unsigned int x = 0; x < list->size; x++)
16 printf("This is a line: %s\n", ((Word*)list->list[x])->Line);
17
18 list_free(list);
19 return 0;
20}