]> granicus.if.org Git - graphviz/commitdiff
gvc: add storage-class attribute declaration of gvLayoutDone in gvc.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 12 Aug 2021 09:23:06 +0000 (11:23 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 22 Dec 2021 05:04:19 +0000 (06:04 +0100)
This function was introduced in
6f46c2c224180dc238851d2fb88d1fb909548376 which was part of a branch
which initially originated before the storage-class attributes for the
other functions in this file were introduced. This was not noted when
this branch was rebased before merge.

Towards https://gitlab.com/graphviz/graphviz/-/issues/2058.

lib/gvc/gvc.h

index b8cec455367b1745d283bfea31a21bb41769f592..2f975160a50924ca86ba93e94ab0e9e389727e36 100644 (file)
@@ -68,7 +68,7 @@ GVC_API int gvLayout(GVC_t *gvc, graph_t *g, const char *engine);
 GVC_API int gvLayoutJobs(GVC_t *gvc, graph_t *g);
 
 /* Check if a layout has been done */
-extern bool gvLayoutDone(graph_t *g);
+GVC_API bool gvLayoutDone(graph_t *g);
 
 /* Render layout into string attributes of the graph */
 GVC_API void attach_attrs(graph_t *g);