fixed warning
This commit is contained in:
parent
bc72728f2b
commit
8dd1602574
|
@ -237,7 +237,10 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
|
||||||
|
|
||||||
if (!strcmp(kitName,"Vtkcommontcl"))
|
if (!strcmp(kitName,"Vtkcommontcl"))
|
||||||
{
|
{
|
||||||
fprintf(fout,"int vtkCommand(ClientData cd, Tcl_Interp *interp,\n int argc, char *argv[]);\n");
|
fprintf(fout,"extern \"C\" {\n"
|
||||||
|
" int vtkCommand(ClientData cd, Tcl_Interp *interp,\n"
|
||||||
|
" int argc, char *argv[]);\n"
|
||||||
|
"}\n");
|
||||||
fprintf(fout,"\nTcl_HashTable vtkInstanceLookup;\n");
|
fprintf(fout,"\nTcl_HashTable vtkInstanceLookup;\n");
|
||||||
fprintf(fout,"Tcl_HashTable vtkPointerLookup;\n");
|
fprintf(fout,"Tcl_HashTable vtkPointerLookup;\n");
|
||||||
fprintf(fout,"Tcl_HashTable vtkCommandLookup;\n");
|
fprintf(fout,"Tcl_HashTable vtkCommandLookup;\n");
|
||||||
|
|
Loading…
Reference in New Issue