annotate teal-src/util/struct.d.tl @ 12956:52fcdfe710ca

storagemanager: Add keyval+ (combined keyval + map) store type This combines the two most common store types, which modules often end up opening with both interfaces separately anyway. As well as combining them, I've taken the opportunity to improve some of the method names to make them clearer.
author Matthew Wild <mwild1@gmail.com>
date Tue, 27 Sep 2022 17:46:27 +0100
parents d593cb709525
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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