 |
m2mb API docs
25.30.003
m2mb API sets documentation
|
Go to the documentation of this file.
35 #ifndef M2MB_OS_DEBUG_H
36 #define M2MB_OS_DEBUG_H
261 #define m2mb_os_malloc(size) m2mb_os_malloc_debug(size,__FUNCTION__,__LINE__)
262 #define m2mb_os_calloc(size) m2mb_os_calloc_debug(size,__FUNCTION__,__LINE__)
263 #define m2mb_os_realloc(ptr,size) m2mb_os_realloc_debug(ptr,size,__FUNCTION__,__LINE__)
264 #define m2mb_os_free(pMem) m2mb_os_free_debug(pMem,__FUNCTION__,__LINE__)
Basic functionality of Operating systems.
void * m2mb_os_malloc_debug(UINT32 size, const CHAR *place, INT32 line)
Allocates bytes of memory (to be used for debug purposes)
void * m2mb_os_calloc_debug(UINT32 size, const CHAR *place, INT32 line)
Allocates bytes of memory and init space with 0 (to be used for debug purposes)
void * m2mb_os_realloc_debug(void *ptr, UINT32 size, const CHAR *place, INT32 line)
Dynamic memory reallocation (to be used for debug purposes)
types used across OS (semaphore, mutex...)
M2MB base types (ver. 121626N)
M2MB_OS_RESULT_E m2mb_os_free_debug(void *pMem, const CHAR *place, INT32 line)
Free allocated memory (to be used for debug purposes)