Re-organise some generate Python code for method creation and docstring support
Fix ‘PyMethodDef* SWIG_PythonGetProxyDoc(const char*)’ declared ‘static’ but never defined [-Wunused-function] Closes #1448
This commit is contained in:
parent
a0720885bd
commit
43438b66ab
4 changed files with 64 additions and 55 deletions
|
|
@ -213,6 +213,12 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Method creation and docstring support functions */
|
||||
|
||||
SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name);
|
||||
SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func);
|
||||
SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func);
|
||||
|
||||
/* The python void return value */
|
||||
|
||||
SWIGRUNTIMEINLINE PyObject *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue