Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Custom Memory Allocator Macros #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ForeverZer0
Copy link

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.

Fixed macro
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant