]> granicus.if.org Git - graphviz/commitdiff
prototype osage_layout and osage_cleanup in osage.h
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 22 Dec 2021 16:15:29 +0000 (08:15 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 27 Dec 2021 21:16:07 +0000 (13:16 -0800)
These are the only functions lib/osage exports. Yet neither were prototyped in a
header. It seems like this header could now be #included in
plugin/neato_layout/gvlayout_neato_layout.c, removing the need for that file to
prototype these functions. Except that it gives slightly different prototypes
for them.

lib/osage/osage.h

index 39614e2400fe2a827193ea1fa8e6d209a57b8967..799ef74b6df0f74389cf7b57bcbf69c00490bcf4 100644 (file)
 
 #pragma once
 
+#include <common/render.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+void osage_layout(Agraph_t *g);
+void osage_cleanup(Agraph_t *g);
+
 #ifdef __cplusplus
 }
 #endif