Go to the documentation of this file.
30 #ifndef __STUMPLESS_MEMORY_H
31 # define __STUMPLESS_MEMORY_H
void stumpless_free_all(void)
Closes the default target if it has been opened, frees all memory allocated internally,...
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
Definition: config.h:31
void *(*)(void *, size_t) stumpless_set_realloc(void *(*realloc_func)(void *, size_t))
Sets the function used by the library to reallocate memory.
Definition: memory.h:181
void stumpless_free_thread(void)
Frees all memory allocated internally to the calling thread, and performs any other thread-specific c...
void *(*)(size_t) stumpless_set_malloc(void *(*malloc_func)(size_t))
Sets the function used by the library to allocate memory.
Definition: memory.h:123
void(*)(void *) stumpless_set_free(void(*free_func)(void *))
Sets the function used by the library to free memory.
Definition: memory.h:152