From: ellson Date: Wed, 27 Jul 2005 19:55:28 +0000 (+0000) Subject: Cleanup and extend the API in gvc.h X-Git-Tag: LAST_LIBGRAPH~32^2~7375 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e14a17c9a9a36cca049cee6a3eeed3b90fe41cc;p=graphviz Cleanup and extend the API in gvc.h Add #defines to give compile warnings for old API entry points Update: dot, tcldot, script bindings, and dot.demo/ to use the modified API --- diff --git a/dot.demo/simple.c b/dot.demo/simple.c index 47434536d..93e91dc10 100644 --- a/dot.demo/simple.c +++ b/dot.demo/simple.c @@ -34,9 +34,9 @@ int main(int argc, char **argv) gvRender(gvc, g, "plain", stdout); - gvCleanup(gvc); + gvFreeLayout(gvc, g); agclose(g); - - return 0; + + return (gvFreeContext(gvc)); }