* include/freetype/freetype.h (FT_Open_Face): Use `const' for `args'

(suggested by Graham).
* src/base/ftobjs.c (FT_Open_Face): Updated.
(ft_input_stream_new): Ditto.
This commit is contained in:
Werner Lemberg 2002-10-07 09:15:20 +00:00
parent 072f7f89d3
commit c4c373cee5
3 changed files with 18 additions and 11 deletions

View File

@ -1,3 +1,10 @@
2002-10-07 Werner Lemberg <wl@gnu.org>
* include/freetype/freetype.h (FT_Open_Face): Use `const' for `args'
(suggested by Graham).
* src/base/ftobjs.c (FT_Open_Face): Updated.
(ft_input_stream_new): Ditto.
2002-10-05 David Turner <david@freetype.org>
* src/pfr/pfrsbit.h, src/pfr/pfrsbit.c, src/pfr/pfrload.c,

View File

@ -1737,7 +1737,7 @@ FT_BEGIN_HEADER
/* */
FT_EXPORT( FT_Error )
FT_Open_Face( FT_Library library,
FT_Open_Args* args,
const FT_Open_Args* args,
FT_Long face_index,
FT_Face *aface );

View File

@ -76,7 +76,7 @@
/* */
static FT_Error
ft_input_stream_new( FT_Library library,
FT_Open_Args* args,
const FT_Open_Args* args,
FT_Stream* astream )
{
FT_Error error;
@ -847,7 +847,7 @@
FT_EXPORT_DEF( FT_Error )
FT_Open_Face( FT_Library library,
FT_Open_Args* args,
const FT_Open_Args* args,
FT_Long face_index,
FT_Face *aface )
{