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

NextPrevUpTopContentsIndex

retain

Function
Summary

Invokes the Objective-C "retain" method.

Package

objc

Signature

retain pointer => pointer

Arguments

pointer

A pointer to an Objective-C foreign object.

Values

pointer

An argument pointer.

Description

The function retain calls the Objective-C "retain" instance method of pointer to decrement its retain count. The pointer is returned.

See also

release
autorelease
retain-count


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 21 Mar 2017

NextPrevUpTopContentsIndex