Last change
on this file since 13214 was 13214, checked in by Mathieu Morlighem, 13 years ago |
CHG: preparing mex module conversion to python
|
File size:
983 bytes
|
Rev | Line | |
---|
[1103] | 1 | /*
|
---|
| 2 | ContourToNodes.h
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifndef _CONTOURTONODES_H
|
---|
| 6 | #define _CONTOURTONODES_H
|
---|
| 7 |
|
---|
[13211] | 8 | #ifdef HAVE_CONFIG_H
|
---|
| 9 | #include <config.h>
|
---|
| 10 | #else
|
---|
| 11 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
[13213] | 14 | /*For python modules: needs to come before header files inclusion*/
|
---|
| 15 | #ifdef _HAVE_PYTHON_
|
---|
| 16 | #define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
|
---|
| 17 | #endif
|
---|
| 18 |
|
---|
[1103] | 19 | /* local prototypes: */
|
---|
| 20 | void ContourToNodesUsage(void);
|
---|
| 21 |
|
---|
[11933] | 22 | #include "../../c/include/globals.h"
|
---|
[3913] | 23 | #include "../../c/modules/modules.h"
|
---|
[4236] | 24 | #include "../../c/Container/Container.h"
|
---|
[3712] | 25 | #include "../../c/shared/shared.h"
|
---|
[12013] | 26 | #include "../../c/issm-binding.h"
|
---|
[1103] | 27 |
|
---|
| 28 | #undef __FUNCT__
|
---|
| 29 | #define __FUNCT__ "ContourToNodes"
|
---|
| 30 |
|
---|
[13214] | 31 | #ifdef _HAVE_MATLAB_MODULES_
|
---|
[1103] | 32 | /* input macros: */
|
---|
| 33 | #define XHANDLE prhs[0]
|
---|
| 34 | #define YHANDLE prhs[1]
|
---|
[5019] | 35 | #define FILENAME prhs[2]
|
---|
[1103] | 36 | #define EDGEVALUEHANDLE prhs[3]
|
---|
| 37 |
|
---|
| 38 | /* serial output macros: */
|
---|
| 39 | #define FLAGS (mxArray**)&plhs[0]
|
---|
[13214] | 40 | #endif
|
---|
[1103] | 41 |
|
---|
| 42 | /* serial arg counts: */
|
---|
| 43 | #undef NLHS
|
---|
[3249] | 44 | #define NLHS 1
|
---|
[1103] | 45 | #undef NRHS
|
---|
| 46 | #define NRHS 4
|
---|
| 47 |
|
---|
| 48 | #endif /* _CONTOURTONODES_H */
|
---|
| 49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.