30#ifndef __STUMPLESS_MEMORY_H
31# define __STUMPLESS_MEMORY_H
34# include <stumpless/config.h>
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
Definition config.h:31
STUMPLESS_PUBLIC_FUNCTION 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:184
STUMPLESS_PUBLIC_FUNCTION 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
STUMPLESS_PUBLIC_FUNCTION void(*)(void *) stumpless_set_free(void(*free_func)(void *))
Sets the function used by the library to free memory.
Definition memory.h:155
STUMPLESS_PUBLIC_FUNCTION void stumpless_free_all(void)
Closes the default target if it has been opened, frees all memory allocated internally,...
STUMPLESS_PUBLIC_FUNCTION void stumpless_free_thread(void)
Frees all memory allocated internally to the calling thread, and performs any other thread-specific c...