mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Use "..withFormatVersion" instead of "formatVersion" in several method
names. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@817 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
325a73414d
commit
60d64b4f5b
1 changed files with 5 additions and 5 deletions
|
@ -93,10 +93,10 @@ id CStreamSignatureMismatchException = @"CStreamSignatureMismatchException";
|
|||
}
|
||||
|
||||
- initForReadingFromStream: (id <Streaming>) s
|
||||
formatVersion: (int)version
|
||||
withFormatVersion: (int)version
|
||||
{
|
||||
[self _initWithStream: s
|
||||
formatVersion: version];
|
||||
formatVersion: version];
|
||||
if ([stream streamPosition] != 0)
|
||||
{
|
||||
char name[128]; /* max class name length. */
|
||||
|
@ -137,10 +137,10 @@ id CStreamSignatureMismatchException = @"CStreamSignatureMismatchException";
|
|||
|
||||
/* This is a designated initializer for writing. */
|
||||
- initForWritingToStream: (id <Streaming>) s
|
||||
formatVersion: (int)version
|
||||
withFormatVersion: (int)version
|
||||
{
|
||||
[self _initWithStream: s
|
||||
formatVersion: version];
|
||||
formatVersion: version];
|
||||
[self writeSignature];
|
||||
return self;
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ id CStreamSignatureMismatchException = @"CStreamSignatureMismatchException";
|
|||
- initForWritingToStream: (id <Streaming>) s
|
||||
{
|
||||
[self initForWritingToStream: s
|
||||
formatVersion: [[self class] defaultFormatVersion]];
|
||||
withFormatVersion: [[self class] defaultFormatVersion]];
|
||||
}
|
||||
|
||||
- initForWritingToFile: (id <String>) file
|
||||
|
|
Loading…
Reference in a new issue