Module Lmdb__Lmdb_bindings.EnvFlags
include Flags
val (+) : t -> t -> t
a + b
is the union of flag setsa
andb
. This corresponds to a bitwise or on C bitfields.
val (*) : t -> t -> t
a * b
is the intersection of flag sets a and b. This corresponds to a bitwise and on C bitfields.
val test : t -> t -> bool
test a b
istrue
only ifa
is a subset ofb
. This corresponds toa & b == a
for C bitfields.
val unset : t -> t -> t
unset a b
removes flagsa
from flag setb
. This corresponds toa & ~b
for C bitfields.
val none : t
none
The empty set of flags.