From 6e1de3134c037a4308531c031f9eae401091ed76 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 30 Jun 2022 15:39:03 +0200 Subject: util.bitcompat: Add Teal type specification --- teal-src/util/bitcompat.d.tl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 teal-src/util/bitcompat.d.tl (limited to 'teal-src') diff --git a/teal-src/util/bitcompat.d.tl b/teal-src/util/bitcompat.d.tl new file mode 100644 index 00000000..18adf725 --- /dev/null +++ b/teal-src/util/bitcompat.d.tl @@ -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 -- cgit v1.2.3