Mercurial > prosody-hg
view util/bit53.lua @ 11078:fb3aec3dbe21
util.error: Have init() return an object to allow API extensibility via additional methods
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 25 Sep 2020 12:32:43 +0100 |
| parents | 48f7cda4174d |
| children | d77d8fba44ad |
line wrap: on
line source
-- Only the operators needed by net.websocket.frames are provided at this point return { band = function (a, b) return a & b end; bor = function (a, b) return a | b end; bxor = function (a, b) return a ~ b end; };
