spandsp  0.0.6
alloc.h File Reference

Go to the source code of this file.

Typedefs

typedef void *(* span_aligned_alloc_t )(size_t alignment, size_t size)
 
typedef void(* span_aligned_free_t )(void *ptr)
 
typedef void *(* span_alloc_t )(size_t size)
 
typedef void *(* span_realloc_t )(void *ptr, size_t size)
 
typedef void(* span_free_t )(void *ptr)
 

Functions

void * span_aligned_alloc (size_t alignment, size_t size)
 
void span_aligned_free (void *ptr)
 
void * span_alloc (size_t size)
 
void * span_realloc (void *ptr, size_t size)
 
void span_free (void *ptr)
 
int span_mem_allocators (span_alloc_t custom_alloc, span_realloc_t custom_realloc, span_free_t custom_free, span_aligned_alloc_t custom_aligned_alloc, span_aligned_free_t custom_aligned_free)