mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
more GC improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d2015542c0
commit
79b93a4901
10 changed files with 415 additions and 118 deletions
|
@ -501,7 +501,7 @@ GSPrivateUnloadModule(FILE *errorStream,
|
|||
void (*unloadCallback)(Class, struct objc_category *)) GS_ATTRIB_PRIVATE;
|
||||
|
||||
|
||||
/* Memory to use to put executabel code in.
|
||||
/* Memory to use to put executable code in.
|
||||
*/
|
||||
@interface GSCodeBuffer : NSObject
|
||||
{
|
||||
|
@ -514,6 +514,15 @@ GSPrivateUnloadModule(FILE *errorStream,
|
|||
- (void) protect;
|
||||
@end
|
||||
|
||||
/* Function to safely change the class of an object by 'isa' swizzling
|
||||
* wile maintaining allocation accounting and finalization in a GC world.
|
||||
*/
|
||||
void
|
||||
GSPrivateSwizzle(id o, Class c) GS_ATTRIB_PRIVATE;
|
||||
|
||||
BOOL
|
||||
GSPrivateIsCollectable(const void *ptr) GS_ATTRIB_PRIVATE;
|
||||
|
||||
NSZone*
|
||||
GSAtomicMallocZone (void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue