Types, allocators and better code split.

This commit is contained in:
2025-02-08 07:12:42 +02:00
parent 984249fa40
commit d1d10aafa1
3 changed files with 138 additions and 62 deletions
+23
View File
@@ -0,0 +1,23 @@
/* jh_mem.h - v0.01 - Jason Hilder
Heavily inspired and designed from:
* https://github.com/nothings/stb/
* https://github.com/gingerBill/gb/
This is a single header file that contains:
- allocators
References:
https://www.gingerbill.org/series/memory-allocation-strategies/
A implementation of the above with changes were I felt I needed them.
To use this library, do this in *one* C:
#define JH_MEM_IMPLEMENTATION
#include "jh_io.h"
*/
#ifndef JH_MEM_INCLUDED
#define JH_MEM_INCLUDED
#endif