This module uses the X-macro technique to keep a variant type in ML synchronized with an enum in C. Check the jbuild file to figure out which files are safe to edit and which files are generated during the build. To help distinguish the two, the next comment is omitted from the generated copy. *
type enum
=
The order of variants in this enum type must be kept in sync with a C-side enum or else options will be silently misparsed. *
type t
= [
]
Polymorphic variants are provided for concision at client call sites. *
val enum_of_t : [< `Case_sensitive of bool | `Dot_nl of bool | `Encoding_latin1 of bool | `Literal of bool | `Log_errors of bool | `Longest_match of bool | `Max_mem of int | `Never_capture of bool | `Never_nl of bool | `One_line of bool | `Perl_classes of bool | `Posix_syntax of bool | `Word_boundary of bool ] ‑> enum
module type S : sig ... end