mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Remove another warning in the python wrapping
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user