Eneboo - Documentación para desarrolladores
'defines' | 'typedefs' | Funciones
Referencia del Archivo src/hoard/src/heaplayers/wrapper.cpp
#include <string.h>
#include <malloc.h>
#include <errno.h>
#include <dlfcn.h>
#include <limits.h>

'defines'

#define CUSTOM_PREFIX(x)   x
#define CUSTOM_MALLOC(x)   CUSTOM_PREFIX(malloc)(x)
#define CUSTOM_FREE(x)   CUSTOM_PREFIX(free)(x)
#define CUSTOM_REALLOC(x, y)   CUSTOM_PREFIX(realloc)(x,y)
#define CUSTOM_CALLOC(x, y)   CUSTOM_PREFIX(calloc)(x,y)
#define CUSTOM_MEMALIGN(x, y)   CUSTOM_PREFIX(memalign)(x,y)
#define CUSTOM_GETSIZE(x)   CUSTOM_PREFIX(malloc_usable_size)(x)
#define CUSTOM_MALLOPT(x, y)   CUSTOM_PREFIX(mallopt)(x,y)
#define CUSTOM_VALLOC(x)   CUSTOM_PREFIX(valloc)(x)
#define CUSTOM_PVALLOC(x)   CUSTOM_PREFIX(pvalloc)(x)
#define CUSTOM_RECALLOC(x, y, z)   CUSTOM_PREFIX(recalloc)(x,y,z)
#define CUSTOM_STRNDUP(s, sz)   CUSTOM_PREFIX(strndup)(s,sz)
#define CUSTOM_STRDUP(s)   CUSTOM_PREFIX(strdup)(s)
#define CUSTOM_GETCWD(b, s)   CUSTOM_PREFIX(getcwd)(b,s)
#define CUSTOM_GETENV(s)   CUSTOM_PREFIX(getenv)(s)
#define CUSTOM_PUTENV(s)   CUSTOM_PREFIX(_putenv)(s)
#define MYCDECL
#define RTLD_NEXT   ((void *) -1)
#define _NEW_INCLUDED_

'typedefs'

typedef char * getcwdFunction (char *, size_t)

Funciones

void *MYCDECL CUSTOM_MALLOC (size_t sz)
void *MYCDECL CUSTOM_CALLOC (size_t nelem, size_t elsize)
void *MYCDECL CUSTOM_MEMALIGN (size_t alignment, size_t size)
int posix_memalign (void **memptr, size_t alignment, size_t size)
size_t MYCDECL CUSTOM_GETSIZE (void *ptr)
void MYCDECL CUSTOM_FREE (void *ptr)
void *MYCDECL CUSTOM_REALLOC (void *ptr, size_t sz)
char *MYCDECL CUSTOM_STRDUP (const char *s)
char *MYCDECL CUSTOM_GETCWD (char *buf, size_t size)
void * operator new (size_t sz)
void operator delete (void *ptr)
void * operator new (size_t sz, const std::nothrow_t &) throw ()
void * operator new[] (size_t size)
void * operator new[] (size_t sz, const std::nothrow_t &) throw ()
void operator delete[] (void *ptr)
int MYCDECL CUSTOM_MALLOPT (int number, int value)
void *MYCDECL CUSTOM_VALLOC (size_t sz)
void *MYCDECL CUSTOM_PVALLOC (size_t sz)
void *MYCDECL CUSTOM_RECALLOC (void *p, size_t num, size_t sz)

Documentación de los 'defines'

#define _NEW_INCLUDED_
#define CUSTOM_CALLOC (   x,
 
)    CUSTOM_PREFIX(calloc)(x,y)
#define CUSTOM_FREE (   x)    CUSTOM_PREFIX(free)(x)
#define CUSTOM_GETCWD (   b,
  s 
)    CUSTOM_PREFIX(getcwd)(b,s)
#define CUSTOM_GETENV (   s)    CUSTOM_PREFIX(getenv)(s)
#define CUSTOM_GETSIZE (   x)    CUSTOM_PREFIX(malloc_usable_size)(x)
#define CUSTOM_MALLOC (   x)    CUSTOM_PREFIX(malloc)(x)
#define CUSTOM_MALLOPT (   x,
 
)    CUSTOM_PREFIX(mallopt)(x,y)
#define CUSTOM_MEMALIGN (   x,
 
)    CUSTOM_PREFIX(memalign)(x,y)
#define CUSTOM_PREFIX (   x)    x
#define CUSTOM_PUTENV (   s)    CUSTOM_PREFIX(_putenv)(s)
#define CUSTOM_PVALLOC (   x)    CUSTOM_PREFIX(pvalloc)(x)
#define CUSTOM_REALLOC (   x,
 
)    CUSTOM_PREFIX(realloc)(x,y)
#define CUSTOM_RECALLOC (   x,
  y,
 
)    CUSTOM_PREFIX(recalloc)(x,y,z)
#define CUSTOM_STRDUP (   s)    CUSTOM_PREFIX(strdup)(s)
#define CUSTOM_STRNDUP (   s,
  sz 
)    CUSTOM_PREFIX(strndup)(s,sz)
#define CUSTOM_VALLOC (   x)    CUSTOM_PREFIX(valloc)(x)
#define MYCDECL
#define RTLD_NEXT   ((void *) -1)

Documentación de los 'typedefs'

typedef char* getcwdFunction(char *, size_t)

Documentación de las funciones

void* MYCDECL CUSTOM_CALLOC ( size_t  nelem,
size_t  elsize 
)
void MYCDECL CUSTOM_FREE ( void *  ptr)
char* MYCDECL CUSTOM_GETCWD ( char *  buf,
size_t  size 
)
size_t MYCDECL CUSTOM_GETSIZE ( void *  ptr)
void* MYCDECL CUSTOM_MALLOC ( size_t  sz)
int MYCDECL CUSTOM_MALLOPT ( int  number,
int  value 
)
void* MYCDECL CUSTOM_MEMALIGN ( size_t  alignment,
size_t  size 
)
void* MYCDECL CUSTOM_PVALLOC ( size_t  sz)
void* MYCDECL CUSTOM_REALLOC ( void *  ptr,
size_t  sz 
)
void* MYCDECL CUSTOM_RECALLOC ( void *  p,
size_t  num,
size_t  sz 
)
char* MYCDECL CUSTOM_STRDUP ( const char *  s)
void* MYCDECL CUSTOM_VALLOC ( size_t  sz)
void operator delete ( void *  ptr)
void operator delete[] ( void *  ptr)
void* operator new ( size_t  sz)
void* operator new ( size_t  sz,
const std::nothrow_t &   
) throw ()
void* operator new[] ( size_t  size)
void* operator new[] ( size_t  sz,
const std::nothrow_t &   
) throw ()
int posix_memalign ( void **  memptr,
size_t  alignment,
size_t  size 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'