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

Go to the source code of this file.

Functions

void * objc_autoreleasePoolPush (void)
 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

◆ _objc_rootAutorelease()

id _objc_rootAutorelease ( id  object)

Autoreleases an object.

Parameters
objectThe object to autorelease
Returns
The autoreleased object

◆ objc_autoreleasePoolPop()

void objc_autoreleasePoolPop ( void *  pool)

Drains an autorelease pool.

Parameters
poolAn identifier for the pool to drain

◆ objc_autoreleasePoolPush()

void* objc_autoreleasePoolPush ( void  )

Creates a new autorelease pool.

Returns
An identifier for the created autorelease pool