Ylva And Malin
Functions
ym_allocator.c File Reference
#include <ym_allocator.h>
#include <ym_memory_regions.h>
Include dependency graph for ym_allocator.c:

Functions

ym_errc ym_create_allocator (ym_alloc_strategy strategy, void *memory, uint size, ym_allocator_cfg *allocator_cfg, ym_allocator *out_allocator)
 
ym_errc ym_destroy_allocator (ym_allocator *allocator)
 
ym_errc ym_allocate (ym_allocator *allocator, int size, void **ptr)
 
ym_errc ym_deallocate (ym_allocator *allocator, int size, void *ptr)
 

Function Documentation

ym_errc ym_allocate ( ym_allocator allocator,
int  size,
void **  ptr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

ym_errc ym_create_allocator ( ym_alloc_strategy  strategy,
void memory,
uint  size,
ym_allocator_cfg allocator_cfg,
ym_allocator out_allocator 
)

Here is the caller graph for this function:

ym_errc ym_deallocate ( ym_allocator allocator,
int  size,
void ptr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

ym_errc ym_destroy_allocator ( ym_allocator allocator)

Here is the call graph for this function: