Browse Source

Remove another warning in the python wrapping

pull/1/head
Andy Cedilnik 23 years ago
parent
commit
3cfca938da
  1. 2
      Source/cmVTKWrapPythonCommand.cxx

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

Loading…
Cancel
Save