#endif
i = 2;
}
-#ifdef WITH_CGRAPH
- agbindrec(g, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE);
-#endif
if (!g) {
Tcl_AppendResult(interp, "\nFailure to open graph.", NULL);
return TCL_ERROR;
}
+#ifdef WITH_CGRAPH
+ agbindrec(g, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE);
+#endif
#ifndef WITH_CGRAPH
*gp = g;
AGID(g) = id;
}
return TCL_ERROR;
}
+#ifdef WITH_CGRAPH
+ agbindrec(g, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE);
+#endif
if (agerrors()) {
Tcl_AppendResult(interp, "\nSyntax errors in file \"", argv[1], " \"", NULL);
return TCL_ERROR;
}
return TCL_ERROR;
}
+#ifdef WITH_CGRAPH
+ agbindrec(g, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE);
+#endif
if (agerrors()) {
Tcl_AppendResult(interp, "\nSyntax errors in string \"", argv[1], " \"", NULL);
return TCL_ERROR;