Next Previous Up Top Contents Index

1.5 Designator classes

<

G.f method

Summary

Returns #t if the second argument is less than the first.

Signature

< C-pointer-1 C-pointer-2 => boolean 

Arguments

c-pointer-1
An instance of <C-pointer>.

c-pointer-2
An instance of <C-pointer>.

Values

boolean
An instance of <boolean>.

Library

c-ffi

Module

c-ffi

Description

Returns #t if the second argument is less than the first. This allows pointer comparison operations to be performed on instances of <C-pointer>.

Note that operations corresponding to C pointer arithmetic are not defined on <C-pointer>. If pointer arithmetic operations are required, use pointer-value with an index: argument.

See also

pointer-value, page 23.

The following functions comprise the conceptual foundation on which the pointer accessing protocol is based. In the signatures of these functions, byte-index is in terms of address units (typically bytes) and scaled-index is scaled by the size of the units involved. In the setters, new is the new value to which the value in the pointed-at location will be set. These functions can be used to deference any general instance of <C-pointer>.


C FFI and Win 32 Reference - 31 MAR 2000

Next Previous Up Top Contents Index