type o = [
| `Afl |
| `Default_unsafe_string |
| `Disable_flat_float_array |
| `Flambda |
| `Force_safe_string |
| `Frame_pointer |
| `No_naked_pointers |
]
val to_string : o -> string
to_string o
returns a compact representation of o
suitable for use in opam version strings.
val of_string : string -> o option
val of_t : t -> (o list, [> `Msg of string ]) Stdlib.result
of_t t
will parse the extra
field of t
and return a list of configure options that it represents. Unknown options in the extra field will result in an Error
being returned.
to_configure_flag o
returns a string that can be passed to OCaml's configure
script to activate that feature.
compare a b
will return -1 if a
is < b
, 0 if they are equal, or 1 if a
> b
. For backwards compatibility reasons, `Frame_pointer
always comes first in comparisons.