At least on the documentation at http://luci.subsignal.org/api/nixio/modules/nixio.bit.html#check the check function is meant to check all flag arguments. On both my local fedora installation via luarocks, and my openwrt installation, this is clearly not happening:
At least on the documentation at http://luci.subsignal.org/api/nixio/modules/nixio.bit.html#check the check function is meant to check all flag arguments. On both my local fedora installation via luarocks, and my openwrt installation, this is clearly not happening:
Only the first flag is checked. This matches up with the source at https://github.com/Neopallium/nixio/blob/master/src/bit.c#L103 which is clearly only checking the first argument.
Now, this clearly works as implemented, but the docs are not right at least.