#include <compiler.h>
#include <cfg/memory.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Functions |
void * | dbg_malloc (size_t len, CONST char *file, int line) |
void * | dbg_calloc (size_t num, size_t size, CONST char *file, int line) |
| Allocate space for an array.
|
void | dbg_free (void *p, CONST char *file, int line) |
void * | dbg_realloc (void *ptr, size_t len, CONST char *file, int line) |
char * | dbg_strdup (CONST char *str, CONST char *file, int line) |
Function Documentation
void* dbg_malloc |
( |
size_t |
len, |
|
|
CONST char * |
file, |
|
|
int |
line |
|
) |
| |
void dbg_free |
( |
void * |
p, |
|
|
CONST char * |
file, |
|
|
int |
line |
|
) |
| |
void* dbg_realloc |
( |
void * |
ptr, |
|
|
size_t |
len, |
|
|
CONST char * |
file, |
|
|
int |
line |
|
) |
| |
char* dbg_strdup |
( |
CONST char * |
str, |
|
|
CONST char * |
file, |
|
|
int |
line |
|
) |
| |