Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

dmalloc.h

Go to the documentation of this file.
00001 #ifndef DMALLOC_H
00002 #define DMALLOC_H
00003 
00004 void *debug_malloc_id(size_t, const char *, int);
00005 void *debug_realloc_id(void *, size_t, const char *, int);
00006 void debug_free_id(void *, const char *, int);
00007 void *debug_malloc(size_t);
00008 void *debug_realloc(void *, size_t);
00009 void debug_free(void *);
00010 void dmalloc_info(void *);
00011 void dmalloc_report(void);
00012 void dmalloc_verbose(const char *);
00013 extern size_t dmalloc_live_memory;
00014 
00015 #define xmalloc(s)              debug_malloc_id((s),__FILE__,__LINE__)
00016 #define xrealloc(p,s)           debug_realloc_id((p),(s),__FILE__,__LINE__)
00017 #define xfree(p)                debug_free_id((p),__FILE__,__LINE__)
00018 #define debug_malloc(s)         debug_malloc_id((s),__FILE__,__LINE__)
00019 #define debug_realloc(p,s)      debug_realloc_id((p),(s),__FILE__,__LINE__)
00020 #define debug_free(p)           debug_free_id((p),__FILE__,__LINE__)
00021 
00022 #endif
 

Powered by Plone

This site conforms to the following standards: