freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] bug fix: pointers in FT_Open_Args should be const


From: Werner LEMBERG
Subject: Re: [ft-devel] bug fix: pointers in FT_Open_Args should be const
Date: Sun, 28 Jan 2007 01:19:17 +0100 (CET)

> Thus FT_Open_Args ought to change from
>
>   typedef struct  FT_Open_Args_
>   {
>     FT_UInt         flags;
>     const FT_Byte*  memory_base;
>     FT_Long         memory_size;
>     FT_String*      pathname;
>     FT_Stream       stream;
>     FT_Module       driver;
>     FT_Int          num_params;
>     FT_Parameter*   params;
>
>   } FT_Open_Args;
>
> to
>
>   typedef struct  FT_Open_Args_
>   {
>     FT_UInt         flags;
>     const FT_Byte*  memory_base;
>     FT_Long         memory_size;
>     const FT_String*      pathname;
>     FT_Stream       stream;
>     FT_Module       driver;
>     FT_Int          num_params;
>     const FT_Parameter*   params;
>
>   } FT_Open_Args;

This is fine with me.  David?


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]