1 /* Primary interface for the Phasta Binary read and write routines these*/ 2 /* functions are 'C' callable.( All arguments have been kept as pointers to*/ 3 /* facilitate calling from Fortran )*/ 4 /* Michel Rasquin Spring 2013, inspired from phastaIO.h*/ 5 #ifndef __MEMORYUSAGE_H__ 6 #define __MEMORYUSAGE_H__ 7 8 #include <FCMangle.h> 9 10 #define initmemstat FortranCInterface_GLOBAL_(initmemstat,INITMEMSTAT) 11 #define printmeminfo FortranCInterface_GLOBAL_(printmeminfo,PRINTMEMINFO) 12 13 #if defined (__cplusplus) 14 extern "C" { 15 #endif 16 17 void initmemstat( void); 18 void printmeminfo( const char *msg); 19 20 #ifdef __cplusplus 21 } // end of extern "C". 22 23 #endif // __cplusplus 24 25 #endif // __MEMORYUSAGE_H__ 26