X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-grovel%2Fsb-grovel.texinfo;h=8c7b0aa9211bfe5ffa9997180f5721338434e2ae;hb=3db292921fabecad0ba8107097d763ba2a044136;hp=ccb6fd2c17b1829ab29bacbc88a7dd6937669a12;hpb=3c0ee1b87c4191298a8842cf7682c3f308680e66;p=sbcl.git diff --git a/contrib/sb-grovel/sb-grovel.texinfo b/contrib/sb-grovel/sb-grovel.texinfo index ccb6fd2..8c7b0aa 100644 --- a/contrib/sb-grovel/sb-grovel.texinfo +++ b/contrib/sb-grovel/sb-grovel.texinfo @@ -112,6 +112,16 @@ Here's how to use the grovel clauses: other forms are possible. @item +@code{:enum} +@lisp + (:enum lisp-type-name ((lisp-enumerated-name c-enumerated-name) ...))) +@end lisp + +An @code{sb-alien:enum} type with name @code{lisp-type-name} will be defined. +The symbols are the @code{lisp-enumerated-name}s, and the values +are grovelled from the @code{c-enumerated-name}s. + +@item @code{:structure} - alien structure definitions look like this: @lisp (:structure lisp-struct-name ("struct c_structure"