From 7e30776ee8b96dd2d5a9646db5a4ed3356690447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wu=2C=20Chia-I=20=28=E5=90=B3=E4=BD=B3=E4=B8=80=29?= Date: Thu, 20 Oct 2005 02:13:46 +0000 Subject: [PATCH] * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c (FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Misuse of FT_EXPORT/FT_EXPORT_DEF. --- ChangeLog | 7 +++++++ include/freetype/ftbitmap.h | 4 ++-- src/base/ftbdf.c | 2 +- src/cache/ftcmru.c | 6 +++--- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a5e5163d..137891ffd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-10-20 Chia-I Wu + + * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), + src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c + (FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Misuse of + FT_EXPORT/FT_EXPORT_DEF. + 2005-10-19 Chia-I Wu * src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to be diff --git a/include/freetype/ftbitmap.h b/include/freetype/ftbitmap.h index 319dd0869..cd970321f 100644 --- a/include/freetype/ftbitmap.h +++ b/include/freetype/ftbitmap.h @@ -85,7 +85,7 @@ FT_BEGIN_HEADER /* */ /* FreeType error code. 0 means success. */ /* */ - FT_EXPORT_DEF( FT_Error ) + FT_EXPORT( FT_Error ) FT_Bitmap_Copy( FT_Library library, const FT_Bitmap *source, FT_Bitmap *target); @@ -123,7 +123,7 @@ FT_BEGIN_HEADER /* Don't embolden the bitmap owned by a @FT_GlyphSlot directly! Call */ /* @FT_Bitmap_Copy to get a copy and work on the copy instead. */ /* */ - FT_EXPORT_DEF( FT_Error ) + FT_EXPORT( FT_Error ) FT_Bitmap_Embolden( FT_Library library, FT_Bitmap* bitmap, FT_Pos xStrength, diff --git a/src/base/ftbdf.c b/src/base/ftbdf.c index fec27e2db..d29adf09d 100644 --- a/src/base/ftbdf.c +++ b/src/base/ftbdf.c @@ -58,7 +58,7 @@ /* documentation is in ftbdf.h */ - FT_EXPORT( FT_Error ) + FT_EXPORT_DEF( FT_Error ) FT_Get_BDF_Property( FT_Face face, const char* prop_name, BDF_PropertyRec *aproperty ) diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c index d4f733a11..4bd82b33d 100644 --- a/src/cache/ftcmru.c +++ b/src/cache/ftcmru.c @@ -181,7 +181,7 @@ } - FT_EXPORT( void ) + FT_EXPORT_DEF( void ) FTC_MruList_Reset( FTC_MruList list ) { while ( list->nodes ) @@ -191,7 +191,7 @@ } - FT_EXPORT( void ) + FT_EXPORT_DEF( void ) FTC_MruList_Done( FTC_MruList list ) { FTC_MruList_Reset( list ); @@ -285,7 +285,7 @@ } - FT_EXPORT( FT_Error ) + FT_EXPORT_DEF( FT_Error ) FTC_MruList_Lookup( FTC_MruList list, FT_Pointer key, FTC_MruNode *anode )