Returns the address of a pointer.
fli
pointer-address pointer => address
pointer⇩ |
A FLI pointer. |
address |
A non-negative integer. |
The function pointer-address
returns the address of pointer as an integer.
In the following example a pointer is defined, and its address is returned using pointer-address
.
(setq point (fli:allocate-foreign-object :type :int)) (fli:pointer-address point)
Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:58