7#ifndef BOTAN_ALLOCATOR_HELPERS_H_
8#define BOTAN_ALLOCATOR_HELPERS_H_
10#include <botan/types.h>
18#if defined(__clang__) || defined(__GNUG__)
19 #define BOTAN_MALLOC_FN __attribute__((malloc))
20#elif defined(_MSC_VER)
21 #define BOTAN_MALLOC_FN __declspec(restrict)
23 #define BOTAN_MALLOC_FN
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_UNSTABLE_API
int(* final)(unsigned char *, CTX *)
void deallocate_memory(void *p, size_t elems, size_t elem_size)
void initialize_allocator()
BOTAN_MALLOC_FN void * allocate_memory(size_t elems, size_t elem_size)