From ee18cba61ba7ed68be4590a9f5a653edf9df4356 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 21 Aug 2002 21:39:28 +0000 Subject: [PATCH] * 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?) --- ChangeLog | 7 +++++++ include/freetype/freetype.h | 4 ++-- src/base/ftobjs.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c51a0935d..dbff64aa2 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 diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 4804c89dd..cd4c36377 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 c6530886c..5786b6c27 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;