Added extern "C" block that was removed in previous commit.
This commit is contained in:
parent
ebe14e6e2a
commit
160b8c5da3
1 changed files with 8 additions and 0 deletions
|
|
@ -214,6 +214,10 @@ SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) {
|
||||||
#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
|
#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Python-specific SWIG API */
|
/* Python-specific SWIG API */
|
||||||
#define SWIG_newvarlink() SWIG_Python_newvarlink()
|
#define SWIG_newvarlink() SWIG_Python_newvarlink()
|
||||||
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
|
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
|
||||||
|
|
@ -430,6 +434,10 @@ SWIG_globals(void) {
|
||||||
return Swig_Globals_global;
|
return Swig_Globals_global;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* Pointer declarations
|
* Pointer declarations
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue