aboutsummaryrefslogtreecommitdiff
path: root/teensy/mem.h
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-10 00:28:14 -0400
committeriamcheeseman <[email protected]>2026-05-10 00:28:14 -0400
commit576bd27e11ec70bdbd1b9a644d2e227b57586337 (patch)
tree2dc41e3f88bb95568f73ee372fc35512afcbcf9b /teensy/mem.h
parent9ed5698b3c74c7ce1784d3bebe2aa73d5a0c319d (diff)
i ain't splitting alla this up
Diffstat (limited to 'teensy/mem.h')
-rw-r--r--teensy/mem.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/teensy/mem.h b/teensy/mem.h
deleted file mode 100644
index 61f3ee2..0000000
--- a/teensy/mem.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef MEM_H_
-#define MEM_H_
-
-#include <stdlib.h>
-
-// NOTE: Overrides GLFW allocator
-void ty_init_mem(void);
-void ty_deinit_mem(void);
-void ty_free_temp_allocs(void);
-// Temp allocation. Freed at the end of every frame. Do NOT realloc.
-void *ty_talloc(size_t size);
-
-// These mem_* functions handle the case of a bad allocation. No need to check
-// for NULL after allocating with these. In debug builds, they will also track
-// allocations and report any memory still in use when the program exits.
-
-void *ty_alloc(size_t size);
-void *ty_realloc(void *ptr, size_t new_size);
-void ty_free(void *ptr);
-
-// Returns -1 in release builds.
-int ty_alloc_count(void);
-
-#endif // MEM_H_