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

ns-range FLI Type Descriptor

Summary

A foreign type for the Objective-C structure type NSRange.

Package

cocoa

Syntax

ns-range

Description

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).

See also

set-ns-range*


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