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 - 16 Feb 2015