27#ifndef POLARSSL_MEMORY_H
28#define POLARSSL_MEMORY_H
30#if !defined(POLARSSL_CONFIG_FILE)
33#include POLARSSL_CONFIG_FILE
38#if defined(POLARSSL_MEMORY_C) && !defined(POLARSSL_PLATFORM_MEMORY)
39#define POLARSSL_PLATFORM_MEMORY
46 void (*free_func)(
void * ) )
48 return platform_set_malloc_free( malloc_func, free_func );
Configuration options (set of defines)
int memory_set_own(void *(*malloc_func)(size_t), void(*free_func)(void *))
Buffer-based memory allocator.