From e02c73f98859289ec27a1f9d91a763fbc886ac26 Mon Sep 17 00:00:00 2001 From: Andrew McCallum Date: Wed, 24 Jan 1996 15:36:50 +0000 Subject: [PATCH] (Streaming -closeStream): New method; we must separate the idea of "closing" a stream and "deallocating" a stream because of delays in deallocation due to -autorelease. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@807 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/base/Streaming.h | 4 ++++ Source/objects/Streaming.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Headers/gnustep/base/Streaming.h b/Headers/gnustep/base/Streaming.h index afff570cb..cf074a622 100644 --- a/Headers/gnustep/base/Streaming.h +++ b/Headers/gnustep/base/Streaming.h @@ -47,6 +47,10 @@ - (BOOL) isAtEof; - (void) flushStream; +/* We must separate the idea of "closing" a stream and "deallocating" a + stream because of delays in deallocation due to -autorelease. */ +- (void) closeStream; + - (BOOL) isWritable; @end diff --git a/Source/objects/Streaming.h b/Source/objects/Streaming.h index afff570cb..cf074a622 100644 --- a/Source/objects/Streaming.h +++ b/Source/objects/Streaming.h @@ -47,6 +47,10 @@ - (BOOL) isAtEof; - (void) flushStream; +/* We must separate the idea of "closing" a stream and "deallocating" a + stream because of delays in deallocation due to -autorelease. */ +- (void) closeStream; + - (BOOL) isWritable; @end