Software /
code /
prosody
Changeset
12620:09d86413c3c5
util.bitcompat: Add Teal type specification
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 30 Jun 2022 15:39:03 +0200 |
parents | 12619:d593cb709525 |
children | 12621:041d067de38b |
files | teal-src/util/bitcompat.d.tl |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/teal-src/util/bitcompat.d.tl Thu Jun 30 15:39:03 2022 +0200 @@ -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