Commit f467e6a93f8caa6c7ef997ef328ba92d7c7ac009

David Turner 2002-08-21T21:39:28

* include/freetype/freetype.h, src/base/ftobjs.c: changing the type of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from "FT_Int" to "FT_Int32", this in order to support more options. this should only break binary and/or source compatibility on 16-bit platforms (Atari?)

diff --git a/ChangeLog b/ChangeLog
index c51a093..dbff64a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,13 @@
         * src/tools/docmaker/docmaker.py, src/tools/docmaker/utils.py,
         src/tools/docmaker/tohtml.py: updating the DocMaker tool
 
+        * include/freetype/freetype.h, src/base/ftobjs.c: changing the type
+        of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from
+        "FT_Int" to "FT_Int32", this in order to support more options.
+        
+        this should only break binary and/or source compatibility on
+        16-bit platforms (Atari?)
+
 
 2002-08-20  Werner Lemberg  <wl@gnu.org>
 
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 4804c89..cd4c363 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1910,7 +1910,7 @@ FT_BEGIN_HEADER
   FT_EXPORT( FT_Error )
   FT_Load_Glyph( FT_Face  face,
                  FT_UInt  glyph_index,
-                 FT_Int   load_flags );
+                 FT_Int32 load_flags );
 
 
   /*************************************************************************/
@@ -1955,7 +1955,7 @@ FT_BEGIN_HEADER
   FT_EXPORT( FT_Error )
   FT_Load_Char( FT_Face   face,
                 FT_ULong  char_code,
-                FT_Int    load_flags );
+                FT_Int32  load_flags );
 
 
   /*************************************************************************/
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index c653088..5786b6c 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -406,7 +406,7 @@
   FT_EXPORT_DEF( FT_Error )
   FT_Load_Glyph( FT_Face  face,
                  FT_UInt  glyph_index,
-                 FT_Int   load_flags )
+                 FT_Int32 load_flags )
   {
     FT_Error      error;
     FT_Driver     driver;
@@ -567,7 +567,7 @@
   FT_EXPORT_DEF( FT_Error )
   FT_Load_Char( FT_Face   face,
                 FT_ULong  char_code,
-                FT_Int    load_flags )
+                FT_Int32  load_flags )
   {
     FT_UInt  glyph_index;