diff options
-rw-r--r-- | Source/cmVTKWrapPythonCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx index 08934b6..059c34d 100644 --- a/Source/cmVTKWrapPythonCommand.cxx +++ b/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); |