Removed functions that were previously available breaks external API
Specifically, commit b7e9e1d9 introduces this regression.
This means that programs that dynamically link against cgraph can no longer use functions like aghead
, while this was previously possible.
Specifically for me it breaks https://github.com/Rubjerg/Graphviz.NetWrapper.
Note that cgraph.h still documents these macros as being exposed as functions too:
/* These macros are also exposed as functions, so they can be linked against. */
#define agtail(e) AGTAIL(e)
#define aghead(e) AGHEAD(e)
Interestingly, this issue has occurred in the past, (see #1235 (closed)) and was the addressed appropriately by commit a995f77b.