mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([Decoder +readSignatureFromCStream:getClassname:formatVersion:]):
Compare got with 6, not 2. ([Decoder -_coderCreateReferenceForObject:]): Add warning comment about a -retain we don't want. Fix this eventually! git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1058 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14700c26f3
commit
e14e479e6b
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@
|
|||
&minor_version,
|
||||
&subminor_version,
|
||||
name, version];
|
||||
if (got != 2)
|
||||
if (got != 6)
|
||||
[NSException raise: CoderSignatureMalformedException
|
||||
format: @"Decoder found a malformed signature"];
|
||||
}
|
||||
|
@ -123,7 +123,7 @@
|
|||
Encoders, which start at 1. */
|
||||
[xref_2_object appendObject: [NSObject new]];
|
||||
}
|
||||
[xref_2_object appendObject: anObj];
|
||||
[xref_2_object appendObject: anObj]; // xxx but this will retain anObj. NO.
|
||||
/* This return value should be the same as the index of anObj
|
||||
in xref_2_object. */
|
||||
return ([xref_2_object count] - 1);
|
||||
|
|
Loading…
Reference in a new issue