mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
ed85bf15d5
commit
79194a56fa
34 changed files with 212 additions and 212 deletions
|
@ -151,7 +151,7 @@ ostream_printf (ostream *s, const char *format, ...)
|
|||
void
|
||||
ostream_vprintf (ostream *s, const char *format, va_list argList)
|
||||
{
|
||||
id <String> str = [String stringWithCString: format];
|
||||
id str = [String stringWithCString: format];
|
||||
if (s->flags & OSTREAM_WRITEFLAG)
|
||||
[(id <Streaming>)s->stream_obj writeFormat: str arguments: argList];
|
||||
else
|
||||
|
@ -172,7 +172,7 @@ ostream_scanf (ostream *s, const char *format, ...)
|
|||
int
|
||||
ostream_vscanf (ostream *s, const char *format, va_list argList)
|
||||
{
|
||||
id <String> str = [String stringWithCString: format];
|
||||
id str = [String stringWithCString: format];
|
||||
if (s->flags & OSTREAM_READFLAG)
|
||||
return [(id <Streaming>)s->stream_obj readFormat: str
|
||||
arguments: argList];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue