aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-01-09 21:47:23 +0100
committerHampusM <hampus@hampusmat.com>2022-01-09 21:47:23 +0100
commit8ceb79db1d0687bba005cef4a77bb889bf7ec3c3 (patch)
treeb7c13359f652506d60c8556ea386ae8d50bfc5bc /src/utils.h
parent097aa95c1f0cb159e7d9d0a3edf9284c421ee298 (diff)
refactor: rewrite to c++
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h21
1 files changed, 0 insertions, 21 deletions
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