32#ifndef ZYCORE_ALLOCATOR_H
33#define ZYCORE_ALLOCATOR_H
65 ZyanUSize element_size, ZyanUSize n);
78 ZyanUSize element_size, ZyanUSize n);
ZYCORE_EXPORT ZYAN_REQUIRES_LIBC ZyanAllocator * ZyanAllocatorDefault(void)
ZyanStatus(* ZyanAllocatorAllocate)(struct ZyanAllocator_ *allocator, void **p, ZyanUSize element_size, ZyanUSize n)
Definition Allocator.h:64
ZyanStatus(* ZyanAllocatorDeallocate)(struct ZyanAllocator_ *allocator, void *p, ZyanUSize element_size, ZyanUSize n)
Definition Allocator.h:77
ZYCORE_EXPORT ZyanStatus ZyanAllocatorInit(ZyanAllocator *allocator, ZyanAllocatorAllocate allocate, ZyanAllocatorAllocate reallocate, ZyanAllocatorDeallocate deallocate)
struct ZyanAllocator_ ZyanAllocator
#define ZYAN_REQUIRES_LIBC
Definition Defines.h:358
#define ZYCORE_EXPORT
Definition Defines.h:227
ZyanU32 ZyanStatus
Definition Status.h:48
Definition Allocator.h:89
ZyanAllocatorAllocate reallocate
Definition Allocator.h:97
ZyanAllocatorDeallocate deallocate
Definition Allocator.h:101
ZyanAllocatorAllocate allocate
Definition Allocator.h:93