mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 17:12:03 +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
aee300baa1
commit
ca29ea6a80
1 changed files with 5 additions and 5 deletions
|
@ -93,10 +93,10 @@ id CStreamSignatureMismatchException = @"CStreamSignatureMismatchException";
|
||||||
}
|
}
|
||||||
|
|
||||||
- initForReadingFromStream: (id <Streaming>) s
|
- initForReadingFromStream: (id <Streaming>) s
|
||||||
formatVersion: (int)version
|
withFormatVersion: (int)version
|
||||||
{
|
{
|
||||||
[self _initWithStream: s
|
[self _initWithStream: s
|
||||||
formatVersion: version];
|
formatVersion: version];
|
||||||
if ([stream streamPosition] != 0)
|
if ([stream streamPosition] != 0)
|
||||||
{
|
{
|
||||||
char name[128]; /* max class name length. */
|
char name[128]; /* max class name length. */
|
||||||
|
@ -137,10 +137,10 @@ id CStreamSignatureMismatchException = @"CStreamSignatureMismatchException";
|
||||||
|
|
||||||
/* This is a designated initializer for writing. */
|
/* This is a designated initializer for writing. */
|
||||||
- initForWritingToStream: (id <Streaming>) s
|
- initForWritingToStream: (id <Streaming>) s
|
||||||
formatVersion: (int)version
|
withFormatVersion: (int)version
|
||||||
{
|
{
|
||||||
[self _initWithStream: s
|
[self _initWithStream: s
|
||||||
formatVersion: version];
|
formatVersion: version];
|
||||||
[self writeSignature];
|
[self writeSignature];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
@ -148,7 +148,7 @@ id CStreamSignatureMismatchException = @"CStreamSignatureMismatchException";
|
||||||
- initForWritingToStream: (id <Streaming>) s
|
- initForWritingToStream: (id <Streaming>) s
|
||||||
{
|
{
|
||||||
[self initForWritingToStream: s
|
[self initForWritingToStream: s
|
||||||
formatVersion: [[self class] defaultFormatVersion]];
|
withFormatVersion: [[self class] defaultFormatVersion]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- initForWritingToFile: (id <String>) file
|
- initForWritingToFile: (id <String>) file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue