All Manuals > Foreign Language Interface User Guide and Reference Manual > 7 Function, Macro and Variable Reference

pointer-pointer-type Function

Summary

Returns the pointer type of a FLI pointer.

Package

fli

Signature

pointer-pointer-type pointer => pointer-type

Arguments
pointer
A FLI pointer.
Values
pointer-type
The pointer type of pointer.
Description

The function pointer-pointer-type returns the pointer type of the foreign pointer pointer.

Examples
(setq point (fli:allocate-foreign-object :type :int))
=>
#<Pointer to type :INT = #x007F3DF0>
 
(fli:pointer-pointer-type point)
=> 
(:POINTER :INT)
 
(fli:free-foreign-object point)
=>
#<Pointer to type :INT = #x00000000>
See also

3.3 Pointer dereferencing and coercing
make-pointer


Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:58