Add flags to a registry
bf_grow(flags, name = NULL, desc = NULL, na_val = NULL, pos = NULL, registry)
function(.)
a function that returns a vector
that shall be stored as bit.
character(.)
the internal name of the bit
flag(s).
character(.)
the description of the bit
flag(s).
numeric(.)
| character(.)
|
logical(1)
which value NAs in the output of flags
should have in the registry.
integerish(1)
the position in the bitfield that
should be set.
registry(1)
the registry in which the bit
flag(s) should be stored.