mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.bitcompat: Add Teal type specification
This commit is contained in:
parent
6464150088
commit
6e1de3134c
1 changed files with 8 additions and 0 deletions
8
teal-src/util/bitcompat.d.tl
Normal file
8
teal-src/util/bitcompat.d.tl
Normal file
|
@ -0,0 +1,8 @@
|
|||
local record lib
|
||||
band : function (integer, integer, ... : integer) : integer
|
||||
bor : function (integer, integer, ... : integer) : integer
|
||||
bxor : function (integer, integer, ... : integer) : integer
|
||||
lshift : function (integer, integer) : integer
|
||||
rshift : function (integer, integer) : integer
|
||||
end
|
||||
return lib
|
Loading…
Add table
Add a link
Reference in a new issue