Next: , Previous: , Up: built-in   [Contents][Index]


6.10 Type of pointer values

Core Type: <pointer>
Parent Type: <top>

Type of pointer values.

Constructor on <pointer>: <pointer> type-constructor {addr <non-negative-exact-integer>}

The constructor is integer->pointer.

Type predicate on <pointer>: <boolean> type-predicate obj

The type predicate is pointer?. Return #t if obj is a pointer object; otherwise return #f.

Equality predicate on <pointer>: <boolean> equality-predicate this {K <pointer>}

The equality predicate is pointer=?.

Hash function on <pointer>: <non-negative-fixnum> hash-function this

The hash function is pointer-hash.

Methods

Method on <pointer>: <boolean> null? this

Apply pointer-null? to the instance.

Method on <pointer>: <exact-integer> integer this

Apply pointer->integer to the instance.

Methods: comparison

Method on <pointer>: <boolean> = this {ptr0 <pointer>} {ptr <pointer>} …

Apply pointer=? to the arguments and return its return value.

Method on <pointer>: <boolean> != this {ptr0 <pointer>} {ptr <pointer>} …

Apply pointer!=? to the arguments and return its return value.

Method on <pointer>: <boolean> < this {ptr0 <pointer>} {ptr <pointer>} …

Apply pointer<? to the arguments and return its return value.

Method on <pointer>: <boolean> > this {ptr0 <pointer>} {ptr <pointer>} …

Apply pointer>? to the arguments and return its return value.

Method on <pointer>: <boolean> <= this {ptr0 <pointer>} {ptr <pointer>} …

Apply pointer<=? to the arguments and return its return value.

Method on <pointer>: <boolean> >= this {ptr0 <pointer>} {ptr <pointer>} …

Apply pointer>=? to the arguments and return its return value.

Methods: arithmetics

Method on <pointer>: <pointer> add this {diff <exact-integer>}

Apply pointer-add to the arguments and return its return value.

Method on <pointer>: <pointer> diff this {P <pointer>}

Apply pointer-diff to the arguments and return its return value.

Method on <pointer>: <pointer> clone this

Apply pointer-clone to the instance and return its return value.

Method on <pointer>: <void> set-null! this

Apply set-pointer-null! to the instance.


Next: , Previous: , Up: built-in   [Contents][Index]