ObjFW
Functions
autorelease.h File Reference
#import "macros.h"

Go to the source code of this file.

Functions

void * objc_autoreleasePoolPush ()
 Creates a new autorelease pool. More...
 
void objc_autoreleasePoolPop (void *pool)
 Drains an autorelease pool. More...
 
id _objc_rootAutorelease (id object)
 Autoreleases an object. More...
 

Function Documentation

id _objc_rootAutorelease ( id  object)

Autoreleases an object.

Parameters
objectThe object to autorelease
Returns
The autoreleased object
void objc_autoreleasePoolPop ( void *  pool)

Drains an autorelease pool.

Parameters
poolAn identifier for the pool to drain
void* objc_autoreleasePoolPush ( )

Creates a new autorelease pool.

Returns
An identifier for the created autorelease pool