mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Update to correctly decode classes that rely on multiple inheritance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2859 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
46cae73262
commit
512d3d7fbb
1 changed files with 4 additions and 0 deletions
|
@ -399,6 +399,10 @@ static id dummyObject;
|
||||||
ala decodeClassName:intoClassName: here. */
|
ala decodeClassName:intoClassName: here. */
|
||||||
|
|
||||||
ret = objc_lookup_class (class_name);
|
ret = objc_lookup_class (class_name);
|
||||||
|
/* Ensure that the [+initialize] method has been called for the
|
||||||
|
class by calling one of it's methods */
|
||||||
|
if (ret != Nil)
|
||||||
|
ret = [ret class];
|
||||||
if (ret == Nil)
|
if (ret == Nil)
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"Couldn't find class `%s'", class_name];
|
format: @"Couldn't find class `%s'", class_name];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue