gvjobs_delete(gvc);
return TCL_OK;
+#if 0
#if HAVE_LIBGD
} else if ((c == 'r') && (strncmp(argv[1], "rendergd", length) == 0)) {
+#if 0
void **hdl;
+#endif
if (argc < 3) {
Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
}
job = gvc->job;
+#if 0
if (! (hdl = tclhandleXlate(GDHandleTable, argv[2]))) {
Tcl_AppendResult(interp, "GD Image not found.", NULL);
return TCL_ERROR;
}
job->context = *hdl;
+#else
+ job->context = (void*)(((Tcl_Obj*)(argv[2]))->internalRep.otherValuePtr);
+#endif
job->external_context = TRUE;
/* make sure that layout is done */
gvjobs_delete(gvc);
Tcl_AppendResult(interp, argv[2], NULL);
return TCL_OK;
+#endif
#endif
} else if ((c == 's')