memory.h File Reference

#include <stdlib.h>
#include <sys/types.h>

Go to the source code of this file.

Defines

#define malloc   rpl_malloc
#define realloc   rpl_realloc
#define calloc   rpl_calloc
#define MALLOC   malloc
#define REALLOC   realloc
#define CALLOC   calloc
#define FREE   free

Functions

void * rpl_malloc (size_t size)
void * rpl_realloc (void *p, size_t size)
void * rpl_calloc (size_t n, size_t s)

Detailed Description

Definition in file memory.h.


Define Documentation

#define CALLOC   calloc

Definition at line 68 of file memory.h.

#define calloc   rpl_calloc

Definition at line 55 of file memory.h.

Referenced by rpl_calloc().

#define FREE   free
#define MALLOC   malloc
#define malloc   rpl_malloc

Definition at line 45 of file memory.h.

Referenced by rpl_malloc(), and secondsToHMS().

#define REALLOC   realloc
#define realloc   rpl_realloc

Definition at line 50 of file memory.h.

Referenced by rpl_realloc().


Function Documentation

void* rpl_calloc ( size_t  n,
size_t  s 
)

Definition at line 89 of file memory.cc.

References calloc, and NULL.

void* rpl_malloc ( size_t  size  ) 

Definition at line 41 of file memory.cc.

References malloc.

void* rpl_realloc ( void *  p,
size_t  size 
)

Definition at line 51 of file memory.cc.

References realloc.


Generated on Fri Mar 26 20:16:54 2010 for MediaTomb by  doxygen 1.6.1