mirror of https://github.com/freetype/freetype
added FT_Done_Stream
This commit is contained in:
parent
68ebd1bee4
commit
a8bcdf8ef6
|
@ -279,11 +279,19 @@
|
|||
/*************************************************************************/
|
||||
/* */
|
||||
/* <Function> */
|
||||
/* ft_done_stream */
|
||||
/* FT_Done_Stream */
|
||||
/* */
|
||||
/* <Description> */
|
||||
/* Closes and destroys a stream object. */
|
||||
/* */
|
||||
EXPORT_FUNC
|
||||
void FT_Done_Stream( FT_Stream stream )
|
||||
{
|
||||
if ( stream->close )
|
||||
stream->close( stream );
|
||||
}
|
||||
|
||||
|
||||
static
|
||||
void ft_done_stream( FT_Stream* astream )
|
||||
{
|
||||
|
@ -297,8 +305,6 @@
|
|||
*astream = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue