Commit 7e30776ee8b96dd2d5a9646db5a4ed3356690447

Wu, Chia-I (吳佳一) 2005-10-20T02:13:46

* 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.

diff --git a/ChangeLog b/ChangeLog
index 1a5e516..137891f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-20  Chia-I Wu  <b90201047@ntu.edu.tw>
+
+	* 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  <b90201047@ntu.edu.tw>
 
 	* 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 319dd08..cd97032 100644
--- a/include/freetype/ftbitmap.h
+++ b/include/freetype/ftbitmap.h
@@ -85,7 +85,7 @@ FT_BEGIN_HEADER
   /* <Return>                                                              */
   /*    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 fec27e2..d29adf0 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 d4f733a..4bd82b3 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 )