mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
TG: Backports from libobjc2 regarding @synchronized(class)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29792 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d02d2c70f9
commit
dbf747d3e5
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-02-28 Thomas Gamper <icicle@cg.tuwien.ac.at>
|
||||
|
||||
* runtime.c:
|
||||
Backport another one of David's fixes for @synchronize(class), all
|
||||
necessary flags now are set in objc_allocateMetaClass.
|
||||
|
||||
2010-02-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* runtime.c:
|
||||
|
|
|
@ -916,8 +916,8 @@ objc_allocateMetaClass(Class superclass, size_t extraBytes)
|
|||
// Initialize the metaclass
|
||||
metaClass->class_pointer = superclass->class_pointer->class_pointer;
|
||||
metaClass->super_class = superclass->class_pointer;
|
||||
metaClass->name = strdup(superclass->name);
|
||||
metaClass->info = _CLS_META;
|
||||
metaClass->name = "hidden class";
|
||||
metaClass->info = _CLS_RESOLV | _CLS_INITIALIZED | _CLS_META;
|
||||
metaClass->dtable = __objc_uninstalled_dtable;
|
||||
metaClass->instance_size = sizeof(struct objc_class);
|
||||
|
||||
|
|
Loading…
Reference in a new issue