spandsp 3.0.0
alloc.c File Reference
#include <limits.h>
#include <stdio.h>
#include <stdarg.h>
#include <fcntl.h>
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <sys/time.h>
#include "spandsp/telephony.h"
#include "spandsp/alloc.h"

Functions

void * span_alloc (size_t size)
void * span_realloc (void *ptr, size_t size)
void span_free (void *ptr)
void * span_aligned_alloc (size_t alignment, size_t size)
void span_aligned_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)