]> granicus.if.org Git - graphviz/commitdiff
remove prototype for unimplemented agrelabel
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 29 Jun 2021 00:26:17 +0000 (17:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 5 Jul 2021 03:36:06 +0000 (20:36 -0700)
I do not know why this function was described as “scary.” However, it seems it
was so scary no one in Graphviz’ history ever implemented it.

lib/cgraph/cgraph.h

index a043fb26d816ec6df8e07951687137d17e45b9c6..9684714231c3bcf596ce64a47b174d0eb00138e9 100644 (file)
@@ -294,7 +294,6 @@ CGRAPH_API Agraph_t *agraphof(void* obj);
 CGRAPH_API Agraph_t *agroot(void* obj);
 CGRAPH_API int agcontains(Agraph_t *, void *);
 CGRAPH_API char *agnameof(void *);
-CGRAPH_API int agrelabel(void *obj, char *name);       /* scary */
 CGRAPH_API int agrelabel_node(Agnode_t * n, char *newname);
 CGRAPH_API int agdelete(Agraph_t * g, void *obj);
 CGRAPH_API int agdelsubg(Agraph_t * g, Agraph_t * sub);        /* could be agclose */