Files
advent-of-code-2023/input_handler.h
2023-12-06 17:34:27 +01:00

21 lines
413 B
C

//
// Created by Lennart on 02/12/2023.
//
#include <stdio.h>
#ifndef ADVENT_OF_CODE_2023_INPUT_HANDLER_H
char* read_line(FILE *f, char **buffer, int *capacity);
static inline int min(const int a, const int b) {
return a < b ? a : b;
}
static inline int max(const int a, const int b) {
return a > b ? a : b;
}
#define ADVENT_OF_CODE_2023_INPUT_HANDLER_H
#endif //ADVENT_OF_CODE_2023_INPUT_HANDLER_H