From 5e14a17c9a9a36cca049cee6a3eeed3b90fe41cc Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 27 Jul 2005 19:55:28 +0000 Subject: [PATCH] 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 --- dot.demo/simple.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } -- 2.40.0