 |
FrontISTR
5.7.0
Large-scale structural analysis program with finit element method
|
Go to the documentation of this file.
6 #ifndef HECMW_MALLOC_INCLUDED
7 #define HECMW_MALLOC_INCLUDED
14 #define HECMW_malloc(size) HECMW_malloc_(size, __FILE__, __LINE__)
15 #define HECMW_calloc(nmemb, size) HECMW_calloc_(nmemb, size, __FILE__, __LINE__)
16 #define HECMW_realloc(ptr, size) HECMW_realloc_(ptr, size, __FILE__, __LINE__)
17 #define HECMW_strdup(s) HECMW_strdup_(s, __FILE__, __LINE__)
18 #define HECMW_free(ptr) HECMW_free_(ptr, __FILE__, __LINE__)
20 #define HECMW_malloc(size) malloc(size)
21 #define HECMW_calloc(nmemb, size) calloc(nmemb, size)
22 #define HECMW_realloc(ptr, size) realloc(ptr, size)
23 #define HECMW_strdup(s) strdup(s)
24 #define HECMW_free(ptr) free(ptr)
int HECMW_list_meminfo(FILE *fp)
int HECMW_check_memleak(void)
char * HECMW_strdup_(const char *s, char *file, int line)
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_free_(void *ptr, char *file, int line)
long HECMW_get_memsize(void)
void HECMW_set_autocheck_memleak(int flag)
void * HECMW_realloc_(void *ptr, size_t size, char *file, int line)