summaryrefslogtreecommitdiffstats
path: root/art_render_gradient.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-04-22 20:57:31 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-28 16:05:06 +0200
commitb314a5b4a87c2c84b77a801348b05c819a44ef7b (patch)
tree9f5d5520de3d05096a84b6a1af7f65d48960a33a /art_render_gradient.h
parentdb23722ddb8507a7954d1cecf6217823b2052388 (diff)
downloadlibart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.tar.gz
libart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.zip
Add support for GCC hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2a50894a436559785a7e0f6f65dde13b0082572c)
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);