From: ellson Date: Mon, 7 Nov 2005 21:27:19 +0000 (+0000) Subject: avoid use of "delete" as it is a reserved word in C++ X-Git-Tag: LAST_LIBGRAPH~32^2~6984 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49eaacc9daf9532a7750a17b819e7a7fd10fcbe2;p=graphviz avoid use of "delete" as it is a reserved word in C++ --- diff --git a/lib/gvc/gvcjob.h b/lib/gvc/gvcjob.h index 251f9b818..83ec9d115 100644 --- a/lib/gvc/gvcjob.h +++ b/lib/gvc/gvcjob.h @@ -119,7 +119,7 @@ extern "C" { void (*button_release) (GVJ_t * job, int button, pointf pointer); void (*motion) (GVJ_t * job, pointf pointer); void (*modify) (GVJ_t * job, char *name, char *value); - void (*delete) (GVJ_t * job); + void (*del) (GVJ_t * job); /* can't use "delete" 'cos C++ stole it */ void (*read) (GVJ_t * job, char *filename, char *layout); void (*layout) (GVJ_t * job, char *layout); void (*render) (GVJ_t * job, char *format, char *filename);