changing the linkage type of FT_New_GlyphSlot and FT_Done_GlyphSlot to BASE_DEF instead of FT_EXPORT_DEF
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/include/freetype/internal/ftobjs.h b/include/freetype/internal/ftobjs.h
index ff7771d..3826b50 100644
--- a/include/freetype/internal/ftobjs.h
+++ b/include/freetype/internal/ftobjs.h
@@ -207,10 +207,11 @@
FT_EXPORT_DEF( FT_Error ) FT_Done_Size( FT_Size size );
- FT_EXPORT_DEF( FT_Error ) FT_New_GlyphSlot( FT_Face face,
- FT_GlyphSlot* aslot );
- FT_EXPORT_DEF( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot );
+ BASE_DEF( FT_Error ) FT_New_GlyphSlot( FT_Face face,
+ FT_GlyphSlot* aslot );
+
+ BASE_DEF( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot );
/*************************************************************************/
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index a271fd5..d08ed0e 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -764,8 +764,8 @@
/* <Return> */
/* FreeType error code. 0 means success. */
/* */
- FT_EXPORT_FUNC( FT_Error ) FT_New_GlyphSlot( FT_Face face,
- FT_GlyphSlot* aslot )
+ BASE_FUNC( FT_Error ) FT_New_GlyphSlot( FT_Face face,
+ FT_GlyphSlot* aslot )
{
FT_Error error;
FT_Driver driver;
@@ -818,7 +818,7 @@
/* <Input> */
/* slot :: A handle to a target glyph slot. */
/* */
- FT_EXPORT_FUNC( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot )
+ BASE_FUNC( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot )
{
if ( slot )
{