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.
定义 config.h:31
void *(*)(size_t) stumpless_set_malloc(void *(*malloc_func)(size_t))
Sets the function used by the library to allocate memory.
定义 memory.h:123
void stumpless_free_thread(void)
Frees all memory allocated internally to the calling thread, and performs any other thread-specific c...
void stumpless_free_all(void)
Closes the default target if it has been opened, frees all memory allocated internally,...
void(*)(void *) stumpless_set_free(void(*free_func)(void *))
Sets the function used by the library to free memory.
定义 memory.h:155
void *(*)(void *, size_t) stumpless_set_realloc(void *(*realloc_func)(void *, size_t))
Sets the function used by the library to reallocate memory.
定义 memory.h:184