extern "C" {
extern void gv_string_writer_init(GVC_t *gvc);
extern void gv_channel_writer_init(GVC_t *gvc);
+extern void gv_writer_reset(GVC_t *gvc);
}
#define agfindattr(x,s) agattrsym(x,s)
return false;
gv_channel_writer_init(gvc);
err = gvRender(gvc, g, format, (FILE*)channelname);
+ gv_writer_reset (gvc); /* Reset to default */
return (! err);
}
return;
gv_string_writer_init(gvc);
err = gvRender(gvc, g, format, (FILE*)outdata);
+ gv_writer_reset (gvc); /* Reset to default */
}
// render to a malloc'ed data string, to be free'd by caller.