summaryrefslogtreecommitdiffstats
path: root/art_vpath_bpath.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-04-22 20:57:31 +0200
committerSlávek Banko <[email protected]>2019-04-28 16:05:06 +0200
commitb314a5b4a87c2c84b77a801348b05c819a44ef7b (patch)
tree9f5d5520de3d05096a84b6a1af7f65d48960a33a /art_vpath_bpath.h
parentdb23722ddb8507a7954d1cecf6217823b2052388 (diff)
downloadlibart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.tar.gz
libart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.zip
Add support for GCC hidden visibility.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 2a50894a436559785a7e0f6f65dde13b0082572c)
Diffstat (limited to 'art_vpath_bpath.h')
-rw-r--r--art_vpath_bpath.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/art_vpath_bpath.h b/art_vpath_bpath.h
index 9eaeedc..202da9d 100644
--- a/art_vpath_bpath.h
+++ b/art_vpath_bpath.h
@@ -21,9 +21,11 @@
#define __ART_VPATH_BPATH_H__
#ifdef LIBART_COMPILATION
+#include "art_config.h"
#include "art_bpath.h"
#include "art_vpath.h"
#else
+#include <libart_lgpl/art_config.h>
#include <libart_lgpl/art_bpath.h>
#include <libart_lgpl/art_vpath.h>
#endif
@@ -32,14 +34,14 @@
extern "C" {
#endif /* __cplusplus */
-ArtPoint *art_bezier_to_vec (double x0, double y0,
+LIBART_EXPORT ArtPoint *art_bezier_to_vec (double x0, double y0,
double x1, double y1,
double x2, double y2,
double x3, double y3,
ArtPoint *p,
int level);
-ArtVpath *art_bez_path_to_vec (const ArtBpath *bez, double flatness);
+LIBART_EXPORT ArtVpath *art_bez_path_to_vec (const ArtBpath *bez, double flatness);
#ifdef __cplusplus
}