aboutsummaryrefslogtreecommitdiffstats
path: root/util/bit53.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-04 16:33:41 +0000
committerMatthew Wild <mwild1@gmail.com>2022-03-04 16:33:41 +0000
commitb47c7951d54d64a3a89854bb80f5d67cc2da90ab (patch)
tree916354af1f314292b4410e1febcfe6a71e398cf0 /util/bit53.lua
parentb6bf4788aa3d5c7ee847c690fcd0fbd9346a5dc7 (diff)
parenta6265e45a04a7f7d5ae39c5608f7a350be1410db (diff)
downloadprosody-b47c7951d54d64a3a89854bb80f5d67cc2da90ab.tar.gz
prosody-b47c7951d54d64a3a89854bb80f5d67cc2da90ab.zip
Merge config-updates+check-turn from timber
Diffstat (limited to 'util/bit53.lua')
-rw-r--r--util/bit53.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/bit53.lua b/util/bit53.lua
index 4b5c2e9c..06799a97 100644
--- a/util/bit53.lua
+++ b/util/bit53.lua
@@ -3,5 +3,7 @@ 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;
+ rshift = function (a, n) return a >> n end;
+ lshift = function (a, n) return a << n end;
};