Eneboo - Documentación para desarrolladores
|
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <limits.h>
#include <malloc/malloc.h>
#include <mach/mach.h>
'defines' | |
#define | CUSTOM_PREFIX |
#define | CUSTOM_GETSIZE(x) CUSTOM_PREFIX(malloc_usable_size)(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_VALLOC(x) CUSTOM_PREFIX(valloc)(x) |
'typedefs' | |
typedef size_t(* | mysize_type )(malloc_zone_t *zone, const void *ptr) |
typedef void *(* | mymalloc_type )(malloc_zone_t *zone, size_t size) |
typedef void *(* | mycalloc_type )(malloc_zone_t *zone, size_t num_items, size_t size) |
typedef void *(* | myvalloc_type )(malloc_zone_t *zone, size_t size) |
typedef void(* | myfree_type )(malloc_zone_t *zone, void *ptr) |
typedef void *(* | myrealloc_type )(malloc_zone_t *zone, void *ptr, size_t size) |
typedef void(* | mydestroy_type )(malloc_zone_t *zone) |
Funciones | |
void | _simple_vdprintf (int, const char *, va_list) |
void | nomalloc_printf (const char *format,...) |
size_t | CUSTOM_GETSIZE (const void *) |
void * | CUSTOM_MALLOC (size_t) |
void | CUSTOM_FREE (void *) |
void * | CUSTOM_REALLOC (void *, size_t) |
void * | CUSTOM_CALLOC (size_t, size_t) |
void * | CUSTOM_VALLOC (size_t) |
size_t | mysize (malloc_zone_t *zone, const void *ptr) |
void * | mymalloc (malloc_zone_t *zone, size_t size) |
void * | mycalloc (malloc_zone_t *zone, size_t num, size_t size) |
void * | myvalloc (malloc_zone_t *zone, size_t size) |
void | myfree (malloc_zone_t *zone, void *ptr) |
void * | myrealloc (malloc_zone_t *zone, void *ptr, size_t size) |
void | mydestroy (malloc_zone_t *zone) |
#define CUSTOM_CALLOC | ( | x, | |
y | |||
) | CUSTOM_PREFIX(calloc)(x,y) |
#define CUSTOM_FREE | ( | x | ) | CUSTOM_PREFIX(free)(x) |
#define CUSTOM_GETSIZE | ( | x | ) | CUSTOM_PREFIX(malloc_usable_size)(x) |
#define CUSTOM_MALLOC | ( | x | ) | CUSTOM_PREFIX(malloc)(x) |
#define CUSTOM_PREFIX |
#define CUSTOM_REALLOC | ( | x, | |
y | |||
) | CUSTOM_PREFIX(realloc)(x,y) |
#define CUSTOM_VALLOC | ( | x | ) | CUSTOM_PREFIX(valloc)(x) |
typedef void*(* mycalloc_type)(malloc_zone_t *zone, size_t num_items, size_t size) |
typedef void(* mydestroy_type)(malloc_zone_t *zone) |
typedef void(* myfree_type)(malloc_zone_t *zone, void *ptr) |
typedef void*(* mymalloc_type)(malloc_zone_t *zone, size_t size) |
typedef void*(* myrealloc_type)(malloc_zone_t *zone, void *ptr, size_t size) |
typedef size_t(* mysize_type)(malloc_zone_t *zone, const void *ptr) |
typedef void*(* myvalloc_type)(malloc_zone_t *zone, size_t size) |
void _simple_vdprintf | ( | int | , |
const char * | , | ||
va_list | |||
) |
void CUSTOM_FREE | ( | void * | ) |
size_t CUSTOM_GETSIZE | ( | const void * | ) |
void* CUSTOM_MALLOC | ( | size_t | ) |
void* CUSTOM_REALLOC | ( | void * | , |
size_t | |||
) |
void* CUSTOM_VALLOC | ( | size_t | ) |
void mydestroy | ( | malloc_zone_t * | zone | ) |
void myfree | ( | malloc_zone_t * | zone, |
void * | ptr | ||
) |
void* mymalloc | ( | malloc_zone_t * | zone, |
size_t | size | ||
) |
void* myrealloc | ( | malloc_zone_t * | zone, |
void * | ptr, | ||
size_t | size | ||
) |
size_t mysize | ( | malloc_zone_t * | zone, |
const void * | ptr | ||
) |
void* myvalloc | ( | malloc_zone_t * | zone, |
size_t | size | ||
) |
void nomalloc_printf | ( | const char * | format, |
... | |||
) | [inline] |