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

check-deprecated-warning-for-macosx
Ali Chraghi 2 years ago committed by Werner Lemberg
parent 3f3427c6f3
commit 5faa1df8b9
  1. 4
      include/freetype/freetype.h
  2. 4
      src/base/ftobjs.c

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

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

Loading…
Cancel
Save