diff options
| author | Sopár Adrián <adrian.sopar@protonmail.com> | 2024-06-20 09:28:14 +0200 |
|---|---|---|
| committer | Sopár Adrián <adrian.sopar@protonmail.com> | 2024-06-20 09:28:14 +0200 |
| commit | 74ea6dc86646cee9915292d73d8c7afef01ef3e0 (patch) | |
| tree | 9a58866f7765dad8ba56f1f40b1fa031e9d2687d /src/utilities.h | |
First commit. This is mostly the state of the project as I left it around the end of 2019.HEADmaster
Diffstat (limited to 'src/utilities.h')
| -rw-r--r-- | src/utilities.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <stdlib.h> + +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 |
