Package: cffi
Macro define-parse-method
Lambda Listdefine-parse-method (name lambda-list &body body) ArgumentsDetails
THE EXAMPLE IS MISPLACED. Examples
(define-foreign-type :boolean (&optional (base-type :int))
"Boolean type. Maps to an :int by default. Only accepts integer types."
(ecase base-type
((:char
:unsigned-char
:int
:unsigned-int
:long
:unsigned-long) base-type))) | See also |