#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
|
| void * | HECMW_malloc_ (size_t size, char *file, int line) |
| |
| void * | HECMW_calloc_ (size_t nmemb, size_t size, char *file, int line) |
| |
| void * | HECMW_realloc_ (void *ptr, size_t size, char *file, int line) |
| |
| char * | HECMW_strdup_ (const char *s, char *file, int line) |
| |
| void | HECMW_free_ (void *ptr, char *file, int line) |
| |
| int | HECMW_check_memleak (void) |
| |
| long | HECMW_get_memsize (void) |
| |
| void | HECMW_set_autocheck_memleak (int flag) |
| |
| int | HECMW_list_meminfo (FILE *fp) |
| |
◆ HECMW_calloc
| #define HECMW_calloc |
( |
|
nmemb, |
|
|
|
size |
|
) |
| calloc(nmemb, size) |
◆ HECMW_free
| #define HECMW_free |
( |
|
ptr | ) |
free(ptr) |
◆ HECMW_malloc
| #define HECMW_malloc |
( |
|
size | ) |
malloc(size) |
◆ HECMW_realloc
| #define HECMW_realloc |
( |
|
ptr, |
|
|
|
size |
|
) |
| realloc(ptr, size) |
◆ HECMW_strdup
| #define HECMW_strdup |
( |
|
s | ) |
strdup(s) |
◆ HECMW_calloc_()
| void * HECMW_calloc_ |
( |
size_t |
nmemb, |
|
|
size_t |
size, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ HECMW_check_memleak()
| int HECMW_check_memleak |
( |
void |
| ) |
|
◆ HECMW_free_()
| void HECMW_free_ |
( |
void * |
ptr, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ HECMW_get_memsize()
| long HECMW_get_memsize |
( |
void |
| ) |
|
◆ HECMW_list_meminfo()
| int HECMW_list_meminfo |
( |
FILE * |
fp | ) |
|
◆ HECMW_malloc_()
| void * HECMW_malloc_ |
( |
size_t |
size, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ HECMW_realloc_()
| void * HECMW_realloc_ |
( |
void * |
ptr, |
|
|
size_t |
size, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ HECMW_set_autocheck_memleak()
| void HECMW_set_autocheck_memleak |
( |
int |
flag | ) |
|
◆ HECMW_strdup_()
| char * HECMW_strdup_ |
( |
const char * |
s, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |