source: issm/trunk-jpl/src/modules/TriaSearch/TriaSearch.h@ 13213

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: 940 bytes
Line 
1/*!\file TriaSearch.h
2 */
3
4#ifndef _TRIASEARCH_H
5#define _TRIASEARCH_H
6
7#ifdef HAVE_CONFIG_H
8 #include <config.h>
9#else
10 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
11#endif
12
13/*For python modules: needs to come before header files inclusion*/
14#ifdef _HAVE_PYTHON_
15#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
16#endif
17
18/* local prototypes: */
19void TriaSearchUsage(void);
20
21#include "../../c/include/globals.h"
22#include "../../c/modules/modules.h"
23#include "../../c/Container/Container.h"
24#include "../../c/shared/shared.h"
25#include "../../c/issm-binding.h"
26
27#undef __FUNCT__
28#define __FUNCT__ "TriaSearch"
29
30
31/* serial input macros: */
32#define INDEXHANDLE prhs[0]
33#define XHANDLE prhs[1]
34#define YHANDLE prhs[2]
35#define X0HANDLE prhs[3]
36#define Y0HANDLE prhs[4]
37
38/* serial output macros: */
39#define TRIA (mxArray**)&plhs[0]
40
41/* serial arg counts: */
42#undef NLHS
43#define NLHS 1
44
45#undef NRHS
46#define NRHS 5
47
48#endif
Note: See TracBrowser for help on using the repository browser.