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:
839 bytes
|
Line | |
---|
1 | /*
|
---|
2 | InternalFront.h
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef _INTERNALFRONT_H
|
---|
6 | #define _INTERNALFRONT_H
|
---|
7 |
|
---|
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 |
|
---|
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 |
|
---|
19 | /* local prototypes: */
|
---|
20 | void InternalFrontUsage(void);
|
---|
21 |
|
---|
22 | #include "../../c/include/globals.h"
|
---|
23 | #include "../../c/shared/shared.h"
|
---|
24 | #include "../../c/issm-binding.h"
|
---|
25 | #include "../../c/io/io.h"
|
---|
26 |
|
---|
27 | #undef __FUNCT__
|
---|
28 | #define __FUNCT__ "InternalFront"
|
---|
29 |
|
---|
30 | #ifdef _HAVE_MATLAB_MODULES_
|
---|
31 | /* serial input macros: */
|
---|
32 | #define MODEL (mxArray*)prhs[0]
|
---|
33 |
|
---|
34 | /* serial output macros: */
|
---|
35 | #define FRONT (mxArray**)&plhs[0]
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | /* serial arg counts: */
|
---|
39 | #undef NLHS
|
---|
40 | #define NLHS 1
|
---|
41 | #undef NRHS
|
---|
42 | #define NRHS 1
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.