summaryrefslogtreecommitdiffstats
path: root/art_alphagamma.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_alphagamma.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_alphagamma.h')
-rw-r--r--art_alphagamma.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/art_alphagamma.h b/art_alphagamma.h
index f67f048..89bab9c 100644
--- a/art_alphagamma.h
+++ b/art_alphagamma.h
@@ -23,8 +23,10 @@
/* Alphagamma tables */
#ifdef LIBART_COMPILATION
+#include "art_config.h"
#include "art_misc.h"
#else
+#include <libart_lgpl/art_config.h>
#include <libart_lgpl/art_misc.h>
#endif
@@ -42,10 +44,10 @@ struct _ArtAlphaGamma {
art_u8 invtable[1];
};
-ArtAlphaGamma *
+LIBART_EXPORT ArtAlphaGamma *
art_alphagamma_new (double gamma);
-void
+LIBART_EXPORT void
art_alphagamma_free (ArtAlphaGamma *alphagamma);
#ifdef __cplusplus