deref-array
— Deference an array.
Macro
deref-array
array type position
=> value
|
A foreign array. |
|
The foreign type of the array. |
|
An integer specifying the position to retrieve from the array. |
value |
The value stored in the position of the array. |
(def-array-pointer ca :char) (let ((fs (convert-to-foreign-string "ab"))) (values (null-char-p (deref-array fs 'ca 0)) (null-char-p (deref-array fs 'ca 2)))) =>NIL
T