| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftstream.h */ | 3 /* ftstream.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Stream handling (specification). */ | 5 /* Stream handling (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2002, 2004-2006, 2011, 2013 by */ | 7 /* Copyright 1996-2015 by */ |
| 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 /* */ | 9 /* */ |
| 10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
| 11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
| 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
| 14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
| 15 /* */ | 15 /* */ |
| 16 /***************************************************************************/ | 16 /***************************************************************************/ |
| 17 | 17 |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 FT_BASE( FT_Error ) | 354 FT_BASE( FT_Error ) |
| 355 FT_Stream_Seek( FT_Stream stream, | 355 FT_Stream_Seek( FT_Stream stream, |
| 356 FT_ULong pos ); | 356 FT_ULong pos ); |
| 357 | 357 |
| 358 /* skip bytes in a stream */ | 358 /* skip bytes in a stream */ |
| 359 FT_BASE( FT_Error ) | 359 FT_BASE( FT_Error ) |
| 360 FT_Stream_Skip( FT_Stream stream, | 360 FT_Stream_Skip( FT_Stream stream, |
| 361 FT_Long distance ); | 361 FT_Long distance ); |
| 362 | 362 |
| 363 /* return current stream position */ | 363 /* return current stream position */ |
| 364 FT_BASE( FT_Long ) | 364 FT_BASE( FT_ULong ) |
| 365 FT_Stream_Pos( FT_Stream stream ); | 365 FT_Stream_Pos( FT_Stream stream ); |
| 366 | 366 |
| 367 /* read bytes from a stream into a user-allocated buffer, returns an */ | 367 /* read bytes from a stream into a user-allocated buffer, returns an */ |
| 368 /* error if not all bytes could be read. */ | 368 /* error if not all bytes could be read. */ |
| 369 FT_BASE( FT_Error ) | 369 FT_BASE( FT_Error ) |
| 370 FT_Stream_Read( FT_Stream stream, | 370 FT_Stream_Read( FT_Stream stream, |
| 371 FT_Byte* buffer, | 371 FT_Byte* buffer, |
| 372 FT_ULong count ); | 372 FT_ULong count ); |
| 373 | 373 |
| 374 /* read bytes from a stream at a given position */ | 374 /* read bytes from a stream at a given position */ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 FT_DEBUG_INNER( FT_Stream_ReleaseFrame( stream, \ | 527 FT_DEBUG_INNER( FT_Stream_ReleaseFrame( stream, \ |
| 528 (FT_Byte**)&(bytes) ) ) | 528 (FT_Byte**)&(bytes) ) ) |
| 529 | 529 |
| 530 | 530 |
| 531 FT_END_HEADER | 531 FT_END_HEADER |
| 532 | 532 |
| 533 #endif /* __FTSTREAM_H__ */ | 533 #endif /* __FTSTREAM_H__ */ |
| 534 | 534 |
| 535 | 535 |
| 536 /* END */ | 536 /* END */ |
| OLD | NEW |