From a0be99f131d07fdfddaf4904cd6fbbc6e192b5e9 Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 3 Oct 2000 18:02:02 +0000 Subject: [PATCH] changing the linkage type of FT_New_GlyphSlot and FT_Done_GlyphSlot to BASE_DEF instead of FT_EXPORT_DEF --- include/freetype/internal/ftobjs.h | 7 ++++--- src/base/ftobjs.c | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/freetype/internal/ftobjs.h b/include/freetype/internal/ftobjs.h index ff7771dda..3826b505c 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 a271fd572..d08ed0e05 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -764,8 +764,8 @@ /* */ /* 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 @@ /* */ /* 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 ) {