diff options
author | David Turner <david@freetype.org> | 2002-03-20 10:49:31 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2002-03-20 10:49:31 +0000 |
commit | 7d3a26425b35c1b037646667c2889260cae84b21 (patch) | |
tree | d4697ff2e4b8332feea00d6ceaa7c36c5b29775e /src/sfnt/ttpost.c | |
parent | 678e0d46cd372cbad73aea3a0d71c68cdd017b85 (diff) | |
download | freetype2-7d3a26425b35c1b037646667c2889260cae84b21.tar.gz |
* renaming stream macros. Examples:
FILE_Skip => FT_STREAM_SKIP
FILE_Read => FT_STREAM_READ
ACCESS_Frame => FT_FRAME_ENTER
FORGET_Frame => FT_FRAME_EXIT
etc...
Diffstat (limited to 'src/sfnt/ttpost.c')
-rw-r--r-- | src/sfnt/ttpost.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c index 8edc08e3b..7a5a49ae4 100644 --- a/src/sfnt/ttpost.c +++ b/src/sfnt/ttpost.c @@ -186,13 +186,13 @@ if ( ALLOC_ARRAY ( glyph_indices, num_glyphs, FT_UShort ) || - ACCESS_Frame( num_glyphs * 2L ) ) + FT_FRAME_ENTER( num_glyphs * 2L ) ) goto Fail; for ( n = 0; n < num_glyphs; n++ ) glyph_indices[n] = GET_UShort(); - FORGET_Frame(); + FT_FRAME_EXIT(); } /* compute number of names stored in table */ @@ -232,7 +232,7 @@ if ( READ_Byte ( len ) || ALLOC_ARRAY( name_strings[n], len + 1, FT_Char ) || - FILE_Read ( name_strings[n], len ) ) + FT_STREAM_READ ( name_strings[n], len ) ) goto Fail1; name_strings[n][len] = '\0'; @@ -293,7 +293,7 @@ } if ( ALLOC ( offset_table, num_glyphs ) || - FILE_Read( offset_table, num_glyphs ) ) + FT_STREAM_READ( offset_table, num_glyphs ) ) goto Fail; /* now check the offset table */ @@ -352,7 +352,7 @@ format = face->postscript.FormatType; /* go to beginning of subtable */ - if ( FILE_Skip( 32 ) ) + if ( FT_STREAM_SKIP( 32 ) ) goto Exit; /* now read postscript table */ |