# HG changeset patch # User Kim Alvefur # Date 1656596343 -7200 # Node ID 09d86413c3c5e3334897dca528efc8cf4ea8064b # Parent d593cb709525d5807b6c8dd823f71cb6b648dd4b util.bitcompat: Add Teal type specification diff -r d593cb709525 -r 09d86413c3c5 teal-src/util/bitcompat.d.tl --- /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