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

NextPrevUpTopContentsIndex

ns-range

FLI type descriptor
Summary

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

Package

cocoa

Syntax

ns-range

Arguments

None.

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 - 21 Mar 2017

NextPrevUpTopContentsIndex