All Manuals > LispWorks® User Guide and Reference Manual > 47 The SYSTEM Package

int32-aref Accessor

Summary

The accessor for a simple-int32-vector.

Package

system

Signatures

int32-aref vector index => int32

setf (int32-aref vector index) int32-or-int => int32-or-int

Arguments
vector
index
A non-negative fixnum.
int32-or-int
An int32 object or an integer of type (signed-byte 32).
Values
int32
An int32 object.
int32-or-int
An int32 object or an integer of type (signed-byte 32).
Description

The accessor int32-aref gets and sets the elements a simple-int32-vector. The reader returns an int32 object for the value at index index in vector. The writer sets the value at index index in vector to the int32 object or integer int32-or-int supplied.

See the section 28.2.2 Fast 32-bit arithmetic for more information about the INT32 API.

See also

int32
simple-int32-vector


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02