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:
William S Fulton 2004-11-08 21:19:06 +00:00
commit 265ea0bec7

View file

@ -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);