]> granicus.if.org Git - graphviz/commit
*_API to specify linkage for lib/cgraph on Windows
authorErwin Janssen <erwinjanssen@outlook.com>
Sun, 26 Mar 2017 13:52:11 +0000 (15:52 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Mon, 27 Mar 2017 08:18:37 +0000 (10:18 +0200)
commit003fd90cbc56f14a959e4fbf237ac325233f3ed9
tree3d4f58f6d0ab40892193f9533e4716a80b1039f3
parent0294c9da53d8593543c05ce0967612dd4c581b0d
*_API to specify linkage for lib/cgraph on Windows

Instead of overloading the `extern` keyword with __dllspec(dllexport) or
__dllspec(dllimport) to specify the linkage, and use a function definition
file to specify the exported functions, this commit adds a seperate define
for each header file to do both. It also makes it more explicit which
function are exported.
lib/cgraph/CMakeLists.txt
lib/cgraph/Makefile.am
lib/cgraph/agxbuf.h
lib/cgraph/cghdr.h
lib/cgraph/cgraph.def [deleted file]
lib/cgraph/cgraph.h
lib/cgraph/cgraph.vcxproj
lib/cgraph/cgraph.vcxproj.filters