aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-06-15 15:51:57 +0200
committerKim Alvefur <zash@zash.se>2022-06-15 15:51:57 +0200
commit64641500885e86a28f79c69dbeb85ba2fa2566a3 (patch)
treea6a8ecfaad315853632d7c425c8982946f326925 /teal-src
parenta9c96e12c2b2cbe40604571e2d81027fa4139aa6 (diff)
downloadprosody-64641500885e86a28f79c69dbeb85ba2fa2566a3.tar.gz
prosody-64641500885e86a28f79c69dbeb85ba2fa2566a3.zip
util.struct: Add Teal interface description file
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/util/struct.d.tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/teal-src/util/struct.d.tl b/teal-src/util/struct.d.tl
new file mode 100644
index 00000000..201aaa23
--- /dev/null
+++ b/teal-src/util/struct.d.tl
@@ -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