* 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?)
This commit is contained in:
David Turner 2002-08-21 21:39:28 +00:00
parent 1b8d70a362
commit ee18cba61b
3 changed files with 11 additions and 4 deletions

View File

@ -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>

View File

@ -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 );
/*************************************************************************/

View File

@ -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;