aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody/util/human/units.d.tl
diff options
context:
space:
mode:
Diffstat (limited to 'teal-src/prosody/util/human/units.d.tl')
-rw-r--r--teal-src/prosody/util/human/units.d.tl8
1 files changed, 8 insertions, 0 deletions
diff --git a/teal-src/prosody/util/human/units.d.tl b/teal-src/prosody/util/human/units.d.tl
new file mode 100644
index 00000000..3db17c3a
--- /dev/null
+++ b/teal-src/prosody/util/human/units.d.tl
@@ -0,0 +1,8 @@
+local lib = record
+ enum logbase
+ "b" -- 1024
+ end
+ adjust : function (number, string) : number, string
+ format : function (number, string, logbase) : string
+end
+return lib