(GSObjCAddClassBehavior): Add call to

GSFlushMethodCacheForClass after adding behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-06-06 13:49:02 +00:00
parent 4bc5a26927
commit 28d280e337
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,8 @@
* Source/Additions/GSObjCRuntime.m
(GSObjCMethodNames): Unify implementation for both runtimes.
(GSGetClassMethodNotInherited): Fix typo.
(GSObjCAddClassBehavior): Add call to GSFlushMethodCacheForClass
after adding behavior.
2004-06-05 David Ayers <d.ayers@inode.at>

View file

@ -1354,6 +1354,7 @@ GSObjCAddClassBehavior(Class receiver, Class behavior)
{
GSObjCAddClassBehavior (receiver, behavior_super_class);
}
GSFlushMethodCacheForClass (receiver);
}