diff options
author | Kim Alvefur <zash@zash.se> | 2022-06-15 15:51:57 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-06-15 15:51:57 +0200 |
commit | 64641500885e86a28f79c69dbeb85ba2fa2566a3 (patch) | |
tree | a6a8ecfaad315853632d7c425c8982946f326925 /teal-src | |
parent | a9c96e12c2b2cbe40604571e2d81027fa4139aa6 (diff) | |
download | prosody-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.tl | 6 |
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 |