Finds the Lisp object associated with a given Objective-C foreign pointer.
objc
objc-object-from-pointer pointer => object
pointer⇩ |
A pointer to an Objective-C foreign object. |
object⇩ |
The Lisp object associated with pointer. |
The function objc-object-from-pointer
returns the Lisp object object associated with the Objective-C foreign object referenced by pointer. For an Objective-C instance, object is of type standard-objc-object and for an Objective-C class it is the standard-class that was defined by define-objc-class.
Note that for a given returned object, the value of the form:
(objc-object-pointer object)
has the same address as pointer.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:32