mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
(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:
parent
2594628f88
commit
4f6afefeb3
2 changed files with 26 additions and 14 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue