Definition in file phMemory.h.
Go to the source code of this file.
Defines | |
#define | phMemset(dst, v, size) memset(dst,v,size) |
#define | phMemcpy(dst, src, size) memcpy(dst,src,size) |
#define | phMemmove(dst, src, size) memmove(dst,src,size) |
#define | phCalloc(nmemb, size) calloc(nmemb, size) |
#define | phMalloc(size) bfin_malloc(size) |
#define | phRealloc(ptr, size) bfin_realloc(ptr, size) |
#define | phFree(x) { if (x) { free(x); x = NULL; } } |
#define | phDelete(x) { if (x) { delete x; x = NULL; } } |
#define | phDeletearr(x) { if (x) { delete [] x; x = NULL; } } |
#define | phDeleteArray phDeletearr |
#define | phDALLOC(ptr, cursize, nelems, cast) |
#define | phDALLOC_NELEMS phDALLOC |
#define | phDALLOC_GROW(ptr, cursize, nelems, cast) |
#define | phDALLOC_NELEMS_GROW phDALLOC_GROW |
#define | phDALLOC_RESIZE(ptr, cursize, nelems, cast) |
#define | phDALLOC_NELEMS_RESIZE phDALLOC_RESIZE |
#define | phDALLOC_SIZE(ptr, cursize, newsize, cast) |
#define | phDALLOC_QUIET_VOIDRETURN(ptr, cursize, nelems, cast) |
#define | phDALLOC_QV phDALLOC_QUIET_VOIDRETURN |
Typedefs | |
typedef void *(* | ph_calloc_func )(size_t nmemb, size_t size) |
typedef void *(* | ph_malloc_func )(size_t size) |
typedef void *(* | ph_realloc_func )(void *ptr, size_t size) |
Functions | |
void * | bfin_realloc (void *ptr, size_t size) |
void * | bfin_malloc (size_t size) |
Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |