warning fixes for using generated code in VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f0e60adb7b
commit
265ea0bec7
1 changed files with 1 additions and 1 deletions
|
|
@ -1597,7 +1597,7 @@ public:
|
|||
Wrapper_print(setf,f_wrappers);
|
||||
|
||||
/* Create a function for getting the value of a variable */
|
||||
Printf(getf->def,"static PyObject *%s_get() {", wname);
|
||||
Printf(getf->def,"static PyObject *%s_get(void) {", wname);
|
||||
Wrapper_add_local(getf,"pyobj", "PyObject *pyobj");
|
||||
if ((tm = Swig_typemap_lookup_new("varout",n,name,0))) {
|
||||
Replaceall(tm,"$source",name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue