vec
vec copied to clipboard
Custom Memory Allocator Macros
Added functionality for users to define VEC_FREE and VEC_REALLOC prior to including the vec.h header to have the library use those for memory allocation and freeing instead of the standard library.
If neither are present, they default to the standard library, and if only one of the two is defined it issues a compiler error.