GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
alloc.c File Reference
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <gpac/configuration.h>
#include <gpac/tools.h>
+ Include dependency graph for alloc.c:

Macros

#define _GNU_SOURCE
 
#define STD_MALLOC   0
 
#define GOOGLE_MALLOC   1
 
#define INTEL_MALLOC   2
 
#define DL_MALLOC   3
 
#define USE_MALLOC   STD_MALLOC
 
#define CDECL
 
#define MALLOC   malloc
 
#define CALLOC   calloc
 
#define REALLOC   realloc
 
#define FREE   free
 
#define STRDUP(a)   return strdup(a);
 

Functions

void * gf_malloc (size_t size)
 
void * gf_calloc (size_t num, size_t size_of)
 
void * gf_realloc (void *ptr, size_t size)
 
void gf_free (void *ptr)
 
char * gf_strdup (const char *str)
 
int gf_asprintf (char **strp, const char *fmt,...)
 asprintf() portable implementation More...
 

Macro Definition Documentation

#define _GNU_SOURCE
#define STD_MALLOC   0
#define GOOGLE_MALLOC   1
#define INTEL_MALLOC   2
#define DL_MALLOC   3
#define USE_MALLOC   STD_MALLOC
#define CDECL
#define MALLOC   malloc
#define CALLOC   calloc
#define REALLOC   realloc
#define FREE   free
#define STRDUP (   a)    return strdup(a);

Function Documentation

void* gf_malloc ( size_t  size)
void* gf_calloc ( size_t  num,
size_t  size_of 
)

+ Here is the caller graph for this function:

void* gf_realloc ( void *  ptr,
size_t  size 
)
void gf_free ( void *  ptr)
char* gf_strdup ( const char *  str)