shithub: freetype+ttf2subf

Download patch

ref: a8bcdf8ef6ecd1e6c8da655f9742f687e0892f49
parent: 68ebd1bee4fe76909b4b8a9bb08d29722d61d0af
author: David Turner <[email protected]>
date: Tue May 2 06:51:41 EDT 2000

added FT_Done_Stream

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -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 )
   {
@@ -296,8 +304,6 @@
     FREE( stream );
     *astream = 0;
   }
-
-
 
   /*************************************************************************/
   /*************************************************************************/