summaryrefslogtreecommitdiffstats
path: root/art_render_gradient.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-23 20:48:39 +0200
commit2a50894a436559785a7e0f6f65dde13b0082572c (patch)
tree560491aa8af08f16cb61cf8815aca8b5100d9e1d /art_render_gradient.h
parent87237501c51b48ba3b802efbd47776bb7e410c2a (diff)
downloadlibart-lgpl-2a50894a436559785a7e0f6f65dde13b0082572c.tar.gz
libart-lgpl-2a50894a436559785a7e0f6f65dde13b0082572c.zip
Add support for GCC hidden visibility.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'art_render_gradient.h')
-rw-r--r--art_render_gradient.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/art_render_gradient.h b/art_render_gradient.h
index c5b4c46..e253afe 100644
--- a/art_render_gradient.h
+++ b/art_render_gradient.h
@@ -27,9 +27,11 @@
#define __ART_RENDER_GRADIENT_H__
#ifdef LIBART_COMPILATION
+#include "art_config.h"
#include "art_filterlevel.h"
#include "art_render.h"
#else
+#include <libart_lgpl/art_config.h>
#include <libart_lgpl/art_filterlevel.h>
#include <libart_lgpl/art_render.h>
#endif
@@ -70,12 +72,12 @@ struct _ArtGradientStop {
ArtPixMaxDepth color[ART_MAX_CHAN + 1];
};
-void
+LIBART_EXPORT void
art_render_gradient_linear (ArtRender *render,
const ArtGradientLinear *gradient,
ArtFilterLevel level);
-void
+LIBART_EXPORT void
art_render_gradient_radial (ArtRender *render,
const ArtGradientRadial *gradient,
ArtFilterLevel level);