fixed warning

This commit is contained in:
Will Schroeder 2002-07-25 16:25:39 -04:00
parent bc72728f2b
commit 8dd1602574
1 changed files with 4 additions and 1 deletions

View File

@ -237,7 +237,10 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
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,"Tcl_HashTable vtkPointerLookup;\n");
fprintf(fout,"Tcl_HashTable vtkCommandLookup;\n");