Diff

teal-src/util/struct.d.tl @ 12619:d593cb709525

util.struct: Add Teal interface description file
author Kim Alvefur <zash@zash.se>
date Wed, 15 Jun 2022 15:51:57 +0200
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/teal-src/util/struct.d.tl	Wed Jun 15 15:51:57 2022 +0200
@@ -0,0 +1,6 @@
+local record lib
+	pack : function (string, ...:any) : string
+	unpack : function(string, string, integer) : any...
+	size : function(string) : integer
+end
+return lib