summaryrefslogtreecommitdiff
path: root/server/libs/luaJIT/bit.lni
diff options
context:
space:
mode:
Diffstat (limited to 'server/libs/luaJIT/bit.lni')
-rw-r--r--server/libs/luaJIT/bit.lni135
1 files changed, 135 insertions, 0 deletions
diff --git a/server/libs/luaJIT/bit.lni b/server/libs/luaJIT/bit.lni
new file mode 100644
index 00000000..f6881983
--- /dev/null
+++ b/server/libs/luaJIT/bit.lni
@@ -0,0 +1,135 @@
+[bit]
+type = table
+[[.source]]
+type = library
+name = bit
+
+<default>
+type = function
+parent = {
+ 1 = {
+ type = 'library',
+ name = 'bit',
+ },
+}
+
+[tobit]
+[[.args]]
+name = x
+type = number
+[[.returns]]
+type = number
+
+[tohex]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+optional = after
+[[.returns]]
+type = number
+
+[bnot]
+[[.args]]
+name = x
+type = number
+[[.returns]]
+type = number
+
+[bor]
+[[.args]]
+name = x1
+type = number
+``````````
+name = x2
+type = number
+optional = after
+`````````
+type = '...'
+[[.returns]]
+type = number
+
+[band]
+[[.args]]
+name = x1
+type = number
+``````````
+name = x2
+type = number
+optional = after
+`````````
+type = '...'
+[[.returns]]
+type = number
+
+[bxor]
+[[.args]]
+name = x1
+type = number
+``````````
+name = x2
+type = number
+optional = after
+`````````
+type = '...'
+[[.returns]]
+type = number
+
+[lshift]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[rshift]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[arshift]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[rol]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[ror]
+[[.args]]
+name = x
+type = number
+``````````
+name = n
+type = number
+[[.returns]]
+type = number
+
+[bswap]
+[[.args]]
+name = x
+type = number
+[[.returns]]
+type = number