fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8cbb864008
commit
7ee5f85b5a
3 changed files with 5 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ extern "C" {
|
||||||
|
|
||||||
typedef struct swig_globalvar {
|
typedef struct swig_globalvar {
|
||||||
char *name; /* Name of global variable */
|
char *name; /* Name of global variable */
|
||||||
PyObject *(*get_attr)(); /* Return the current value */
|
PyObject *(*get_attr)(void); /* Return the current value */
|
||||||
int (*set_attr)(PyObject *); /* Set the value */
|
int (*set_attr)(PyObject *); /* Set the value */
|
||||||
struct swig_globalvar *next;
|
struct swig_globalvar *next;
|
||||||
} swig_globalvar;
|
} swig_globalvar;
|
||||||
|
|
@ -77,7 +77,7 @@ swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SWIGINTERN PyTypeObject*
|
SWIGINTERN PyTypeObject*
|
||||||
swig_varlink_type() {
|
swig_varlink_type(void) {
|
||||||
static char varlink__doc__[] = "Swig var link object";
|
static char varlink__doc__[] = "Swig var link object";
|
||||||
static PyTypeObject varlink_type
|
static PyTypeObject varlink_type
|
||||||
#if !defined(__cplusplus)
|
#if !defined(__cplusplus)
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ PySwigObject_dealloc(PySwigObject *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
SWIGRUNTIME PyTypeObject*
|
SWIGRUNTIME PyTypeObject*
|
||||||
PySwigObject_type() {
|
PySwigObject_type(void) {
|
||||||
static char pyswigobject_type__doc__[] =
|
static char pyswigobject_type__doc__[] =
|
||||||
"Swig object carries a C/C++ instance pointer";
|
"Swig object carries a C/C++ instance pointer";
|
||||||
|
|
||||||
|
|
@ -339,7 +339,7 @@ PySwigPacked_dealloc(PySwigPacked *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
SWIGRUNTIME PyTypeObject*
|
SWIGRUNTIME PyTypeObject*
|
||||||
PySwigPacked_type() {
|
PySwigPacked_type(void) {
|
||||||
static char pyswigpacked_type__doc__[] =
|
static char pyswigpacked_type__doc__[] =
|
||||||
"Swig object carries a C/C++ instance pointer";
|
"Swig object carries a C/C++ instance pointer";
|
||||||
static PyTypeObject pyswigpacked_type
|
static PyTypeObject pyswigpacked_type
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ SWIG_InitializeModule(void *clientdata) {
|
||||||
* SWIG_TypeClientData(type, clientdata) a second time.
|
* SWIG_TypeClientData(type, clientdata) a second time.
|
||||||
*/
|
*/
|
||||||
SWIGRUNTIME void
|
SWIGRUNTIME void
|
||||||
SWIG_PropagateClientData() {
|
SWIG_PropagateClientData(void) {
|
||||||
size_t i;
|
size_t i;
|
||||||
swig_cast_info *equiv;
|
swig_cast_info *equiv;
|
||||||
static int init_run = 0;
|
static int init_run = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue