From 74ea6dc86646cee9915292d73d8c7afef01ef3e0 Mon Sep 17 00:00:00 2001 From: Sopár Adrián Date: Thu, 20 Jun 2024 09:28:14 +0200 Subject: First commit. This is mostly the state of the project as I left it around the end of 2019. --- src/utilities.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/utilities.h (limited to 'src/utilities.h') diff --git a/src/utilities.h b/src/utilities.h new file mode 100644 index 0000000..6787883 --- /dev/null +++ b/src/utilities.h @@ -0,0 +1,14 @@ +#ifndef UTILITIES_H +#define UTILITIES_H + +#include + +void shuffle(void *base, size_t nitems, size_t size); + +void init2d(void **array, size_t width, size_t height, size_t size); + +size_t sizeof_2d(size_t width, size_t height, size_t size); + +int find_lr_ints(char *text, char **left, char **right); + +#endif \ No newline at end of file -- cgit v1.2.3