changes the type of the "mode" parameter in FT_Set_Raster_Mode
to unsigned long (easier than string to compare)
This commit is contained in:
parent
81d02dbc04
commit
c1205799f5
|
@ -2370,7 +2370,7 @@
|
||||||
EXPORT_DEF
|
EXPORT_DEF
|
||||||
FT_Error FT_Set_Raster_Mode( FT_Library library,
|
FT_Error FT_Set_Raster_Mode( FT_Library library,
|
||||||
FT_Glyph_Format format,
|
FT_Glyph_Format format,
|
||||||
const char* mode,
|
unsigned long mode,
|
||||||
void* args );
|
void* args );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -857,14 +857,14 @@
|
||||||
*
|
*
|
||||||
* <Input>
|
* <Input>
|
||||||
* raster :: handle to new raster object
|
* raster :: handle to new raster object
|
||||||
* mode :: an C string naming the mode or property to change
|
* mode :: a 4-byte tag used to name the mode or property
|
||||||
* args :: a pointer to the new mode/property to use
|
* args :: a pointer to the new mode/property to use
|
||||||
*
|
*
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
typedef int (*FT_Raster_Set_Mode_Func)( FT_Raster raster,
|
typedef int (*FT_Raster_Set_Mode_Func)( FT_Raster raster,
|
||||||
const char* mode,
|
unsigned long mode,
|
||||||
void* args );
|
void* args );
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -594,7 +594,7 @@
|
||||||
EXPORT_FUNC
|
EXPORT_FUNC
|
||||||
FT_Error FT_Set_Raster_Mode( FT_Library library,
|
FT_Error FT_Set_Raster_Mode( FT_Library library,
|
||||||
FT_Glyph_Format format,
|
FT_Glyph_Format format,
|
||||||
const char* mode,
|
unsigned long mode,
|
||||||
void* args )
|
void* args )
|
||||||
{
|
{
|
||||||
FT_Raster_Funcs funcs;
|
FT_Raster_Funcs funcs;
|
||||||
|
|
Loading…
Reference in New Issue