(Streaming): Use string object types instead of C-string types in

method arguments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@760 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-23 21:01:51 +00:00
parent 2594628f88
commit 4f6afefeb3
2 changed files with 26 additions and 14 deletions

View file

@ -1,5 +1,5 @@
/* Protocol for GNU Objective C byte streams
Copyright (C) 1995 Free Software Foundation, Inc.
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
Date: April 1995
@ -34,14 +34,12 @@
- (int) writeBytes: (const void*)b length: (int)l;
- (int) readBytes: (void*)b length: (int)l;
- (int) writeFormat: (const char *)format, ...;
- (int) readFormat: (const char *)format, ...;
- (int) writeFormat: (id <String>)format, ...;
- (int) readFormat: (id <String>)format, ...;
- (void) writeLine: (const char *)l;
- (char *) readLine;
- (void) writeLine: (id <String>)l;
- (id <String>) readLine;
- (void) rewindStream;
- (void) setStreamPosition: (unsigned)i;
- (unsigned) streamPosition;
- (BOOL) isAtEof;
- (void) flushStream;
@ -50,5 +48,13 @@
@end
@protocol SeekableStreaming
- (void) rewindStream;
- (void) setStreamPosition: (unsigned)i;
@end
#endif /* __Streaming_h__OBJECTS_INCLUDE */