Ice Sheet System Model
4.18
Code documentation
src
wrappers
BamgTriangulate
BamgTriangulate.h
Go to the documentation of this file.
1
5
#ifndef _BAMGTRIANGULATE_H
6
#define _BAMGTRIANGULATE_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
#include "../bindings.h"
20
#include "../../c/main/globals.h"
21
#include "../../c/modules/modules.h"
22
#include "../../c/shared/shared.h"
23
24
#undef __FUNCT__
25
#define __FUNCT__ "BamgTriangulate"
26
27
#ifdef _HAVE_MATLAB_MODULES_
28
/* serial input macros: */
29
#define XHANDLE prhs[0]
30
#define YHANDLE prhs[1]
31
32
/* serial output macros: */
33
#define INDEX (mxArray**)&plhs[0]
34
#endif
35
36
#ifdef _HAVE_PYTHON_MODULES_
37
/* serial input macros: */
38
#define XHANDLE PyTuple_GetItem(args,0)
39
#define YHANDLE PyTuple_GetItem(args,1)
40
41
/* serial output macros: */
42
#define INDEX output,0
43
#endif
44
45
/* serial arg counts: */
46
#undef NLHS
47
#define NLHS 1
48
#undef NRHS
49
#define NRHS 2
50
51
#endif
Generated on Thu Jul 2 2020 08:09:22 for Ice Sheet System Model by
1.8.19