psaux: Use size_t variable to pass the buffer size.
This commit is contained in:
parent
d1ee378566
commit
d200982d8b
18
ChangeLog
18
ChangeLog
@ -1,3 +1,21 @@
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
psaux: Use size_t variable to pass the buffer size.
|
||||
|
||||
* src/psaux/psaux.h (to_bytes): The type of `max_bytes'
|
||||
(the argument to pass the buffer size) is changed to
|
||||
size_t, to match with ANSI C string functions.
|
||||
|
||||
* src/psaux/psconv.h (PS_Conv_StringDecode,
|
||||
PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Ditto.
|
||||
|
||||
* src/psaux/psconv.c (PS_Conv_StringDecode,
|
||||
PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Ditto.
|
||||
|
||||
* src/psaux/psobjs.h (ps_parser_to_bytes): Ditto.
|
||||
|
||||
* src/psaux/psobjs.c (ps_parser_to_bytes): Ditto.
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
type1: Use size_t variable to pass the string length.
|
||||
|
@ -360,7 +360,7 @@ FT_BEGIN_HEADER
|
||||
FT_Error
|
||||
(*to_bytes)( PS_Parser parser,
|
||||
FT_Byte* bytes,
|
||||
FT_Long max_bytes,
|
||||
FT_Offset max_bytes,
|
||||
FT_Long* pnum_bytes,
|
||||
FT_Bool delimiters );
|
||||
|
||||
|
@ -239,7 +239,7 @@
|
||||
PS_Conv_StringDecode( FT_Byte** cursor,
|
||||
FT_Byte* limit,
|
||||
FT_Byte* buffer,
|
||||
FT_UInt n )
|
||||
FT_Offset n )
|
||||
{
|
||||
FT_Byte* p;
|
||||
FT_UInt r = 0;
|
||||
@ -334,7 +334,7 @@
|
||||
PS_Conv_ASCIIHexDecode( FT_Byte** cursor,
|
||||
FT_Byte* limit,
|
||||
FT_Byte* buffer,
|
||||
FT_UInt n )
|
||||
FT_Offset n )
|
||||
{
|
||||
FT_Byte* p;
|
||||
FT_UInt r = 0;
|
||||
@ -423,7 +423,7 @@
|
||||
PS_Conv_EexecDecode( FT_Byte** cursor,
|
||||
FT_Byte* limit,
|
||||
FT_Byte* buffer,
|
||||
FT_UInt n,
|
||||
FT_Offset n,
|
||||
FT_UShort* seed )
|
||||
{
|
||||
FT_Byte* p;
|
||||
|
@ -46,20 +46,20 @@ FT_BEGIN_HEADER
|
||||
PS_Conv_StringDecode( FT_Byte** cursor,
|
||||
FT_Byte* limit,
|
||||
FT_Byte* buffer,
|
||||
FT_UInt n );
|
||||
FT_Offset n );
|
||||
#endif
|
||||
|
||||
FT_LOCAL( FT_UInt )
|
||||
PS_Conv_ASCIIHexDecode( FT_Byte** cursor,
|
||||
FT_Byte* limit,
|
||||
FT_Byte* buffer,
|
||||
FT_UInt n );
|
||||
FT_Offset n );
|
||||
|
||||
FT_LOCAL( FT_UInt )
|
||||
PS_Conv_EexecDecode( FT_Byte** cursor,
|
||||
FT_Byte* limit,
|
||||
FT_Byte* buffer,
|
||||
FT_UInt n,
|
||||
FT_Offset n,
|
||||
FT_UShort* seed );
|
||||
|
||||
|
||||
|
@ -1313,7 +1313,7 @@
|
||||
FT_LOCAL_DEF( FT_Error )
|
||||
ps_parser_to_bytes( PS_Parser parser,
|
||||
FT_Byte* bytes,
|
||||
FT_Long max_bytes,
|
||||
FT_Offset max_bytes,
|
||||
FT_Long* pnum_bytes,
|
||||
FT_Bool delimiters )
|
||||
{
|
||||
|
@ -111,7 +111,7 @@ FT_BEGIN_HEADER
|
||||
FT_LOCAL( FT_Error )
|
||||
ps_parser_to_bytes( PS_Parser parser,
|
||||
FT_Byte* bytes,
|
||||
FT_Long max_bytes,
|
||||
FT_Offset max_bytes,
|
||||
FT_Long* pnum_bytes,
|
||||
FT_Bool delimiters );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user