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
RevLine 
[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: */
20void 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
[13214]30#ifdef _HAVE_MATLAB_MODULES_
[7217]31/* serial input macros: */
[13235]32#define MODEL prhs[0]
[7217]33/* serial output macros: */
34#define FRONT (mxArray**)&plhs[0]
[13214]35#endif
[7217]36
[13235]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
[7217]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.