mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([Stream -rewindStream]): Move method lower in file, to avoid
undeclared error. (This is related to creation of SeekableStream protocol.) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@774 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09c49910b2
commit
4e3cf66fa6
1 changed files with 6 additions and 6 deletions
|
@ -79,15 +79,10 @@
|
|||
- (id <String>) readLine
|
||||
{
|
||||
char *l;
|
||||
[self readFormat:"%a[^\n]\n", &l];
|
||||
[self readFormat: @"%a[^\n]\n", &l];
|
||||
return [NSString stringWithCStringNoCopy:l];
|
||||
}
|
||||
|
||||
- (void) rewindStream
|
||||
{
|
||||
[self setStreamPosition:0];
|
||||
}
|
||||
|
||||
- (void) flushStream
|
||||
{
|
||||
[self subclassResponsibility:_cmd];
|
||||
|
@ -98,6 +93,11 @@
|
|||
[self subclassResponsibility:_cmd];
|
||||
}
|
||||
|
||||
- (void) rewindStream
|
||||
{
|
||||
[self setStreamPosition:0];
|
||||
}
|
||||
|
||||
- (unsigned) streamPosition
|
||||
{
|
||||
[self subclassResponsibility:_cmd];
|
||||
|
|
Loading…
Reference in a new issue