From 7a43227278b05d204a576e52dec88cb6fc55267a Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Sat, 8 Jul 2023 02:49:50 +0300 Subject: [PATCH] add day template --- day_template.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 day_template.c diff --git a/day_template.c b/day_template.c new file mode 100644 index 0000000..83febcd --- /dev/null +++ b/day_template.c @@ -0,0 +1,22 @@ +#include "aoc.h" + +typedef struct { +} day00_data; + +static void* day00_parse(char** lines, int line_count) +{ + day00_data *data = malloc(sizeof(day00_data)); + return data; +} + +static void day00_part1(void *p) +{ + day00_data *data = (day00_data*)p; +} + +static void day00_part2(void *p) +{ + day00_data *data = (day00_data*)p; +} + +ADD_SOLUTION(00, day00_parse, day00_part1, day00_part2);