Last change
on this file since 13213 was 13213, checked in by Mathieu Morlighem, 13 years ago |
CHG: preparing mex module conversion to python
|
File size:
803 bytes
|
Rev | Line | |
---|
[7217] | 1 | /*
|
---|
| 2 | InternalFront.h
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifndef _INTERNALFRONT_H
|
---|
| 6 | #define _INTERNALFRONT_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 |
|
---|
[7217] | 19 | /* local prototypes: */
|
---|
| 20 | void InternalFrontUsage(void);
|
---|
| 21 |
|
---|
[11933] | 22 | #include "../../c/include/globals.h"
|
---|
[7217] | 23 | #include "../../c/shared/shared.h"
|
---|
[12013] | 24 | #include "../../c/issm-binding.h"
|
---|
[7217] | 25 | #include "../../c/io/io.h"
|
---|
| 26 |
|
---|
| 27 | #undef __FUNCT__
|
---|
| 28 | #define __FUNCT__ "InternalFront"
|
---|
| 29 |
|
---|
| 30 | /* serial input macros: */
|
---|
| 31 | #define MODEL (mxArray*)prhs[0]
|
---|
| 32 |
|
---|
| 33 | /* serial output macros: */
|
---|
| 34 | #define FRONT (mxArray**)&plhs[0]
|
---|
| 35 |
|
---|
| 36 | /* serial arg counts: */
|
---|
| 37 | #undef NLHS
|
---|
| 38 | #define NLHS 1
|
---|
| 39 | #undef NRHS
|
---|
| 40 | #define NRHS 1
|
---|
| 41 |
|
---|
| 42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.