summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/thread.exdata2.lua
diff options
context:
space:
mode:
authorMichael Martin <flrgh@protonmail.com>2021-12-21 18:12:20 -0800
committerMichael Martin <flrgh@protonmail.com>2021-12-21 18:12:20 -0800
commit17da081e1abf752b79eab76067c27f738fccb927 (patch)
tree7e67428de22b07885403c61e748d8880b4b9eb36 /meta/3rd/OpenResty/library/thread.exdata2.lua
parent20912f9febfa3c6cea4c11379425971a5b4de7bf (diff)
downloadlua-language-server-17da081e1abf752b79eab76067c27f738fccb927.zip
chore: add more luajit annotations from https://github.com/openresty/luajit2
Diffstat (limited to 'meta/3rd/OpenResty/library/thread.exdata2.lua')
-rw-r--r--meta/3rd/OpenResty/library/thread.exdata2.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/library/thread.exdata2.lua b/meta/3rd/OpenResty/library/thread.exdata2.lua
new file mode 100644
index 00000000..0387849d
--- /dev/null
+++ b/meta/3rd/OpenResty/library/thread.exdata2.lua
@@ -0,0 +1,8 @@
+---@meta
+
+--- Similar to `thread.exdata` but for a 2nd separate user data as a pointer value.
+---@param data? any
+---@return any? data
+local function exdata2(data) end
+
+return exdata2