Changeset 13214 for issm/trunk-jpl/src/modules/Scotch/Scotch.h
- Timestamp:
- 08/31/12 10:47:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/modules/Scotch/Scotch.h
r13213 r13214 5 5 #ifndef _SCOTCH_H 6 6 #define _SCOTCH_H 7 8 #ifdef HAVE_CONFIG_H9 #include <config.h>10 #else11 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"12 #endif13 14 /*For python modules: needs to come before header files inclusion*/15 #ifdef _HAVE_PYTHON_16 #define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol17 #endif18 7 19 8 /* local prototypes: */ … … 35 24 /* Scotch structures and prototypes */ 36 25 #ifdef MATLAB 37 38 39 26 #include "mat.h" 27 #include "mex.h" 28 #include "matrix.h" 40 29 41 42 43 44 45 46 47 30 #define printf mexPrintf 31 #define fprintf(file,...) (file == stdout || file == stderr ? mexPrintf(__VA_ARGS__) : fprintf(file,__VA_ARGS__)) 32 #define malloc mxMalloc 33 #define calloc mxCalloc 34 #define realloc mxRealloc 35 #define free mxFree 36 #define exit(status) mexErrMsgTxt("exit=" #status) 48 37 #endif 49 38 50 51 39 #endif /* _SCOTCH_H */
Note:
See TracChangeset
for help on using the changeset viewer.