Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
haltdos-pro-waf / usr / local / lib / lua / 5.1 / resty / mqtt / bitwrap.lua
Size: Mime:
-- wrapper around BitOp module

-- luacheck: globals jit
if _VERSION == "Lua 5.1" or type(jit) == "table" then -- Lua 5.1 or LuaJIT (based on Lua 5.1)
	return require("bit") -- custom module https://luarocks.org/modules/luarocks/luabitop
elseif _VERSION == "Lua 5.2" then
	return require("bit32") -- standard Lua 5.2 module
else
	return require("resty.mqtt.bit53")
end

-- vim: ts=4 sts=4 sw=4 noet ft=lua