Substitute (NSString*) for (id <String>)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-11-24 17:30:39 +00:00
parent 182592f4a1
commit 7202be0561
34 changed files with 212 additions and 212 deletions

View file

@ -59,14 +59,14 @@ NSString* StreamException = @"StreamException";
return 0;
}
- (int) writeFormat: (id <String>)format
- (int) writeFormat: (NSString*)format
arguments: (va_list)arg
{
[self subclassResponsibility:_cmd];
return 0;
}
- (int) writeFormat: (id <String>)format, ...
- (int) writeFormat: (NSString*)format, ...
{
int ret;
va_list ap;
@ -77,27 +77,27 @@ NSString* StreamException = @"StreamException";
return ret;
}
- (int) readFormat: (id <String>)format
- (int) readFormat: (NSString*)format
arguments: (va_list)arg
{
[self subclassResponsibility:_cmd];
return 0;
}
- (int) readFormat: (id <String>)format, ...
- (int) readFormat: (NSString*)format, ...
{
[self subclassResponsibility:_cmd];
return 0;
}
- (void) writeLine: (id <String>)l
- (void) writeLine: (NSString*)l
{
const char *s = [l cStringNoCopy];
[self writeBytes:s length:strlen(s)];
[self writeBytes:"\n" length:1];
}
- (id <String>) readLine
- (NSString*) readLine
{
char *l;
[self readFormat: @"%a[^\n]\n", &l];