source: issm/trunk-jpl/src/modules/InternalFront/InternalFront.h@ 13235

Last change on this file since 13235 was 13235, checked in by Mathieu Morlighem, 13 years ago

CHG: preparing header files for python inclusion

File size: 982 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: */
20void 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 prhs[0]
33/* serial output macros: */
34#define FRONT (mxArray**)&plhs[0]
35#endif
36
37#ifdef _HAVE_PYTHON_MODULES_
38/* serial input macros: */
39#define MODEL PyTuple_GetItem(args,0)
40/* serial output macros: */
41#define FRONT output,0]
42#endif
43
44/* serial arg counts: */
45#undef NLHS
46#define NLHS 1
47#undef NRHS
48#define NRHS 1
49
50#endif
Note: See TracBrowser for help on using the repository browser.