The position of the cursor is now stored in a
POINT
structure in memory, and
location
is a pointer to that location. To find out what values are stored we use the foreign-slot-value accessor, which returns the value stored in the specified field of the structure.
(fli:foreign-slot-value location 'x)
(fli:foreign-slot-value location 'y)
LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011