[base] FT_Attach_Stream: Make `parameters` argument constant.

This commit is contained in:
Ali Chraghi 2022-09-29 18:25:41 +03:30 committed by Werner Lemberg
parent 3f3427c6f3
commit 5faa1df8b9
2 changed files with 4 additions and 4 deletions

View File

@ -2593,8 +2593,8 @@ FT_BEGIN_HEADER
* stream attachments.
*/
FT_EXPORT( FT_Error )
FT_Attach_Stream( FT_Face face,
FT_Open_Args* parameters );
FT_Attach_Stream( FT_Face face,
const FT_Open_Args* parameters );
/**************************************************************************

View File

@ -2854,8 +2854,8 @@
/* documentation is in freetype.h */
FT_EXPORT_DEF( FT_Error )
FT_Attach_Stream( FT_Face face,
FT_Open_Args* parameters )
FT_Attach_Stream( FT_Face face,
const FT_Open_Args* parameters )
{
FT_Stream stream;
FT_Error error;