A foreign type for the Objective-C structure type NSRange
.
cocoa
ns-range
The FLI type ns-range
is a structure type for use as the Objective-C type NSRange
. The structure has two slots, :location
and :length
, both of foreign type (:unsigned :int)
.
When used directly in method definition or invocation, it allows automatic conversion to/from a cons of the form (location . length)
.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:33