Browse Source

Remove another warning in the python wrapping

Andy Cedilnik 23 years ago
parent
commit
3cfca938da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmVTKWrapPythonCommand.cxx

+ 1 - 1
Source/cmVTKWrapPythonCommand.cxx

@@ -194,7 +194,7 @@ bool cmVTKWrapPythonCommand::WriteInit(const char *kitName,
 
   fprintf(fout,"\nstatic PyMethodDef Py%s_ClassMethods[] = {\n",
 	  kitName);
-  fprintf(fout,"{NULL, NULL}};\n\n");
+  fprintf(fout,"{NULL, NULL, 0, NULL}};\n\n");
   
 #ifdef _WIN32
   fprintf(fout,"extern  \"C\" {__declspec( dllexport) void init%s();}\n\n",kitName);