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

retain-count Function

Summary

Invokes the Objective-C "retainCount" method.

Package

objc

Signature

retain-count pointer => retain-count

Arguments
pointer
A pointer to an Objective-C foreign object.
Values
retain-count
An integer.
Description

The function retain-count calls the Objective-C "retainCount" instance method of pointer to return its retain count.

See also

retain
release


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:32