Determines whether two foreign types are the same underlying foreign type.
fli
foreign-type-equal-p type1 type2 => result
type1⇩ |
A foreign type. |
type2⇩ |
A foreign type. |
result |
A boolean. |
The function foreign-type-equal-p
returns true if type1 and type2 are the same underlying foreign type, and false otherwise.
(fli:define-foreign-type aa () '(:signed :byte)) => aa (fli:define-foreign-type bb () '(:signed :char)) => bb (fli:foreign-type-equal-p 'aa 'bb) => t (fli:foreign-type-equal-p 'bb :char) => nil
Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:58