Rabios/ice_libs

Allow overriding/specifying custom allocator/deallocator pair

legends2k opened this issue · 1 comments

Memory allocations directly use malloc and free. Having a couple of macros like ALLOC_FUNC and DEALLOC_FUNC and using them everywhere would be better. malloc and free can be defaults when these macros are undefined. This would be beneficial for using these headers in projects that have tight memory constraints and do manual memory management. Example: stb.

Added custom memory allocation functions to libs that uses memory functions!
Thanks for being interested in ice_libs and opened this issue!