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)
LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017