aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody/util/compat.d.tl
diff options
context:
space:
mode:
Diffstat (limited to 'teal-src/prosody/util/compat.d.tl')
-rw-r--r--teal-src/prosody/util/compat.d.tl4
1 files changed, 4 insertions, 0 deletions
diff --git a/teal-src/prosody/util/compat.d.tl b/teal-src/prosody/util/compat.d.tl
new file mode 100644
index 00000000..da9c6083
--- /dev/null
+++ b/teal-src/prosody/util/compat.d.tl
@@ -0,0 +1,4 @@
+local record lib
+ xpcall : function (function, function, ...:any):boolean, any
+end
+return lib