[gucharmap] charmap: Export interposed freetype symbols



commit 572c8cd1b1107db460811bd0b123c58df414320e
Author: Christian Persch <chpe src gnome org>
Date:   Mon Mar 9 20:27:13 2020 +0100

    charmap: Export interposed freetype symbols
    
    Fixes a regression from the meson port.

 gucharmap/main.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gucharmap/main.c b/gucharmap/main.c
index 28aca8d2..4001c00d 100644
--- a/gucharmap/main.c
+++ b/gucharmap/main.c
@@ -52,16 +52,19 @@
 #include <ft2build.h>
 #include FT_FREETYPE_H
 
-extern FT_Error
+_GUCHARMAP_PUBLIC
+FT_Error
 FT_Load_Glyph(FT_Face face,
              FT_UInt glyph_index,
              FT_Int32 load_flags);
 
-extern FT_Error
+_GUCHARMAP_PUBLIC
+FT_Error
 FT_Load_Char(FT_Face face,
             FT_ULong char_code,
             FT_Int32 load_flags);
 
+_GUCHARMAP_PUBLIC
 FT_Error
 FT_Load_Glyph(FT_Face face,
              FT_UInt glyph_index,
@@ -76,6 +79,7 @@ FT_Load_Glyph(FT_Face face,
   return original(face, glyph_index, load_flags & ~FT_LOAD_COLOR);
 }
 
+_GUCHARMAP_PUBLIC
 FT_Error
 FT_Load_Char( FT_Face face,
              FT_ULong char_code,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]