Commit d51ac9c7c6aa5773c806495052a7a862fce6a7e2

Werner Lemberg 2013-05-12T06:00:27

Fix Savannah bug #38968. * include/freetype/ftmodapi.h: Add `FT_EXPORT' to FT_Property_{Set,Get}. * src/base/ftobjs.c: Add `FT_EXPORT_DEF' to FT_Property_{Set,Get}.

diff --git a/ChangeLog b/ChangeLog
index efe4b2c..d7d4039 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-05-12  Werner Lemberg  <wl@gnu.org>
+
+	Fix Savannah bug #38968.
+
+	* include/freetype/ftmodapi.h: Add `FT_EXPORT' to
+	FT_Property_{Set,Get}.
+	* src/base/ftobjs.c: Add `FT_EXPORT_DEF' to
+	FT_Property_{Set,Get}.
+
 2013-05-10  Werner Lemberg  <wl@gnu.org>
 
 	[sfnt] Clean up bitmap code.
diff --git a/include/freetype/ftmodapi.h b/include/freetype/ftmodapi.h
index aedfc54..da61fb7 100644
--- a/include/freetype/ftmodapi.h
+++ b/include/freetype/ftmodapi.h
@@ -329,7 +329,7 @@ FT_BEGIN_HEADER
    *    2.4.11
    *
    */
-  FT_Error
+  FT_EXPORT( FT_Error )
   FT_Property_Set( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,
@@ -393,7 +393,7 @@ FT_BEGIN_HEADER
    *    2.4.11
    *
    */
-  FT_Error
+  FT_EXPORT( FT_Error )
   FT_Property_Get( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index be1be7e..26118ed 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -4516,7 +4516,7 @@
 
   /* documentation is in ftmodapi.h */
 
-  FT_Error
+  FT_EXPORT_DEF( FT_Error )
   FT_Property_Set( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,
@@ -4532,7 +4532,7 @@
 
   /* documentation is in ftmodapi.h */
 
-  FT_Error
+  FT_EXPORT_DEF( FT_Error )
   FT_Property_Get( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,