Package: cffi
Macro defcunion
Lambda Listdefcunion (name &body fields) SyntaxArgumentsDetails
A union is a structure in which all slots have an offset of zero. It is
isomorphic to the C union. Therefore, you should use the usual foreign
structure operations for accessing a union's slots. Examples
(defcunion uint32-bytes
(int-value :unsigned-int)
(bytes :unsigned-char :count 4)) | See also |