summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/bit32.lua2
-rw-r--r--meta/template/coroutine.lua2
-rw-r--r--meta/template/debug.lua2
-rw-r--r--meta/template/io.lua2
-rw-r--r--meta/template/math.lua2
-rw-r--r--meta/template/os.lua2
-rw-r--r--meta/template/package.lua2
-rw-r--r--meta/template/string.lua2
-rw-r--r--meta/template/table.lua2
-rw-r--r--meta/template/utf8.lua2
10 files changed, 20 insertions, 0 deletions
diff --git a/meta/template/bit32.lua b/meta/template/bit32.lua
index c3271937..7429d40b 100644
--- a/meta/template/bit32.lua
+++ b/meta/template/bit32.lua
@@ -53,3 +53,5 @@ function bit32.rrotate(x, distp) end
---@param distp integer
---@return integer
function bit32.rshift(x, distp) end
+
+return bit32
diff --git a/meta/template/coroutine.lua b/meta/template/coroutine.lua
index 74213cd1..e805e542 100644
--- a/meta/template/coroutine.lua
+++ b/meta/template/coroutine.lua
@@ -39,3 +39,5 @@ function coroutine.wrap(f) end
---@return ...
function coroutine.yield(...) end
+
+return coroutine
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index f599655c..58835011 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -141,3 +141,5 @@ function debug.upvalueid(f, n) end
---@param f2 function
---@param n2 integer
function debug.upvaluejoin(f1, n1, f2, n2) end
+
+return debug
diff --git a/meta/template/io.lua b/meta/template/io.lua
index 90354b64..a2b97877 100644
--- a/meta/template/io.lua
+++ b/meta/template/io.lua
@@ -74,3 +74,5 @@ function io.type(file) end
---@return file
---@return string errmsg?
function io.write(...) end
+
+return io
diff --git a/meta/template/math.lua b/meta/template/math.lua
index 31473b25..cf047976 100644
--- a/meta/template/math.lua
+++ b/meta/template/math.lua
@@ -147,3 +147,5 @@ function math.type(x) end
---@param n integer
---@return boolean
function math.ult(m, n) end
+
+return math
diff --git a/meta/template/os.lua b/meta/template/os.lua
index d4350721..c8d9cd61 100644
--- a/meta/template/os.lua
+++ b/meta/template/os.lua
@@ -58,3 +58,5 @@ function os.time(date) end
---@return string
function os.tmpname() end
+
+return os
diff --git a/meta/template/package.lua b/meta/template/package.lua
index a133a4f6..47d6bab7 100644
--- a/meta/template/package.lua
+++ b/meta/template/package.lua
@@ -23,3 +23,5 @@ function package.searchpath(name, path, sep, rep) end
---@param module table
function package.seeall(module) end
+
+return package
diff --git a/meta/template/string.lua b/meta/template/string.lua
index a7bfebe8..7faf4b1d 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -98,3 +98,5 @@ function string.unpack(fmt, s, pos) end
---@param s string
---@return string
function string.upper(s) end
+
+return string
diff --git a/meta/template/table.lua b/meta/template/table.lua
index 43e709fb..8629d1dd 100644
--- a/meta/template/table.lua
+++ b/meta/template/table.lua
@@ -42,3 +42,5 @@ function table.sort(list, comp) end
---@param i integer?
---@param j integer?
function table.unpack(list, i, j) end
+
+return table
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua
index cc4deca8..23445ddd 100644
--- a/meta/template/utf8.lua
+++ b/meta/template/utf8.lua
@@ -34,3 +34,5 @@ function utf8.len(s, i, j, lax) end
---@param i integer
---@return integer p
function utf8.offset(s, n, i) end
+
+return utf8