aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-02-23 16:38:05 +0100
committerKim Alvefur <zash@zash.se>2024-02-23 16:38:05 +0100
commita2b268528d465d8af98427d69b1679c840375783 (patch)
tree48a7125bae7d7b24f2261d59dbb56f7a31c33dbc /teal-src/prosody/util
parentbb081f052f2e93b2c1e9b6458a33d553635b3ea1 (diff)
downloadprosody-a2b268528d465d8af98427d69b1679c840375783.tar.gz
prosody-a2b268528d465d8af98427d69b1679c840375783.zip
util.strbitop: Add common_prefix_bits() to Teal interface description
Diffstat (limited to 'teal-src/prosody/util')
-rw-r--r--teal-src/prosody/util/strbitop.d.tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/teal-src/prosody/util/strbitop.d.tl b/teal-src/prosody/util/strbitop.d.tl
index 010efdb8..86577ef2 100644
--- a/teal-src/prosody/util/strbitop.d.tl
+++ b/teal-src/prosody/util/strbitop.d.tl
@@ -2,5 +2,6 @@ local record mod
sand : function (string, string) : string
sor : function (string, string) : string
sxor : function (string, string) : string
+ common_prefix_bits : function (string, string) : integer
end
return mod