26 #ifndef POLARSSL_MEMORY_H
27 #define POLARSSL_MEMORY_H
29 #if !defined(POLARSSL_CONFIG_FILE)
32 #include POLARSSL_CONFIG_FILE
40 #if ! defined(POLARSSL_DEPRECATED_REMOVED)
41 #if defined(POLARSSL_DEPRECATED_WARNING)
42 #define DEPRECATED __attribute__((deprecated))
54 void (*free_func)(
void * ) )
56 return platform_set_malloc_free( malloc_func, free_func );
Configuration options (set of defines)
Buffer-based memory allocator.
int memory_set_own(void *(*malloc_func)(size_t), void(*free_func)(void *)) DEPRECATED
Set malloc() / free() callback.