All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual > 2 Objective-C Reference

NextPrevUpTopContentsIndex

autorelease

Function
Summary

Invokes the Objective-C "autorelease" method.

Package

objc

Signature

autorelease pointer => pointer

Arguments

pointer

A pointer to an Objective-C foreign object.

Values

pointer

The argument pointer .

Description

The function autorelease calls the Objective-C "autorelease" instance method of pointer to register it with the current autorelease pool. The pointer is returned.

See also

release
retain
make-autorelease-pool
with-autorelease-pool


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex