SHOGUN
v2.0.0
|
Go to the source code of this file.
Macros | |
#define | SG_MALLOC(type, len) (type*) sg_malloc(sizeof(type)*size_t(len)) |
#define | SG_MALLOC(type, len) (type*) sg_malloc(sizeof(type)*size_t(len)) |
#define | SG_CALLOC(type, len) (type*) sg_calloc(size_t(len), sizeof(type)) |
#define | SG_REALLOC(type, ptr, len) (type*) sg_realloc(ptr, sizeof(type)*size_t(len)) |
#define | SG_FREE(ptr) sg_free(ptr) |
Functions | |
void * | sg_malloc (size_t size) |
void | sg_free (void *ptr) |
void * | sg_realloc (void *ptr, size_t size) |
void * | sg_calloc (size_t num, size_t size) |
void * | operator new (size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) throw () |
void * | operator new[] (size_t size) throw (std::bad_alloc) |
void | operator delete[] (void *p) throw () |
#define SG_CALLOC | ( | type, | |
len | |||
) | (type*) sg_calloc(size_t(len), sizeof(type)) |
#define SG_MALLOC | ( | type, | |
len | |||
) | (type*) sg_malloc(sizeof(type)*size_t(len)) |
#define SG_MALLOC | ( | type, | |
len | |||
) | (type*) sg_malloc(sizeof(type)*size_t(len)) |
#define SG_REALLOC | ( | type, | |
ptr, | |||
len | |||
) | (type*) sg_realloc(ptr, sizeof(type)*size_t(len)) |
void operator delete | ( | void * | p | ) | throw () |
Definition at line 103 of file memory.cpp.
void operator delete[] | ( | void * | p | ) | throw () |
Definition at line 135 of file memory.cpp.
void* operator new | ( | size_t | size | ) | throw (std::bad_alloc) |
Definition at line 81 of file memory.cpp.
void* operator new[] | ( | size_t | size | ) | throw (std::bad_alloc) |
Definition at line 112 of file memory.cpp.
void* sg_calloc | ( | size_t | num, |
size_t | size | ||
) |
Definition at line 171 of file memory.cpp.
void sg_free | ( | void * | ptr | ) |
Definition at line 200 of file memory.cpp.
void* sg_malloc | ( | size_t | size | ) |
Definition at line 144 of file memory.cpp.
void* sg_realloc | ( | void * | ptr, |
size_t | size | ||
) |
Definition at line 209 of file memory.cpp.