Software /
code /
prosody
Annotate
teal-src/util/struct.d.tl @ 12645:a741183eec97
core.moduleapi: Expand permission name ':' prefix earlier
Ensures it applies to the context as string case
Somehow this fixes everything
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 15 Jun 2022 23:04:17 +0200 |
parent | 12619:d593cb709525 |
rev | line source |
---|---|
12619
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 pack : function (string, ...:any) : string |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 unpack : function(string, string, integer) : any... |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 size : function(string) : integer |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 end |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 return lib |