mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
([Decoder +readSignatureFromCStream:getClassname:formatVersion:]): Get
new values. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1009 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8983f563c8
commit
bbc64a55de
1 changed files with 8 additions and 0 deletions
|
@ -42,8 +42,16 @@
|
|||
formatVersion: (int*) version
|
||||
{
|
||||
int got;
|
||||
char package_name[64];
|
||||
int major_version;
|
||||
int minor_version;
|
||||
int subminor_version;
|
||||
|
||||
got = [[cs stream] readFormat: SIGNATURE_FORMAT_STRING,
|
||||
&package_name,
|
||||
&major_version,
|
||||
&minor_version,
|
||||
&subminor_version,
|
||||
name, version];
|
||||
if (got != 2)
|
||||
[NSException raise: CoderSignatureMalformedException
|
||||
|
|
Loading…
Reference in a new issue