aboutsummaryrefslogtreecommitdiff
path: root/src/dynalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynalloc.h')
-rw-r--r--src/dynalloc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dynalloc.h b/src/dynalloc.h
new file mode 100644
index 0000000..852f608
--- /dev/null
+++ b/src/dynalloc.h
@@ -0,0 +1,12 @@
+/*
+ * src/dynalloc.h
+ * (c) 2020 Jonas Gunz <himself@jonasgunz.de>
+ * License: MIT
+*/
+#pragma once
+
+#include <stdlib.h>
+
+void** dynalloc_2d_array ( unsigned int _x, unsigned int _y, unsigned int _sizeof );
+
+void dynalloc_2d_array_free ( unsigned int _x, unsigned int _y, void** _array );