From 8ceb79db1d0687bba005cef4a77bb889bf7ec3c3 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 9 Jan 2022 21:47:23 +0100 Subject: refactor: rewrite to c++ --- src/utils.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/utils.h (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h deleted file mode 100644 index 2f36034..0000000 --- a/src/utils.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef UTILS_H -#define UTILS_H - -/** - * Safely allocates memory to the heap. - * - * @param amount The amount of memory to allocate - * @returns The allocated memory. - */ -void *malloc_s(unsigned long amount); - -/** - * Converts a string to a unsigned integer. - * - * @param str A string - * @param err A error destination - * @returns A unsigned integer. - */ -unsigned int str_to_uint(char *str, char **err); - -#endif -- cgit v1.2.3-18-g5258