sb-simple-streams: use the Windows file mapping API for memory-mapped files
[sbcl.git] / contrib / sb-grovel / sb-grovel.texinfo
index 4313153..8c7b0aa 100644 (file)
@@ -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"
@@ -171,7 +181,7 @@ structure member.
 @item
 @code{:function} - alien function definitions are similar to
 @code{define-alien-routine} definitions, because they expand to such
-forms when the lisp program is loaded. @xref{Foreign Function Calls}
+forms when the lisp program is loaded. @xref{Foreign Function Calls}.
 
 @lisp
 (:function lisp-function-name ("alien_function_name" alien-return-type