summaryrefslogtreecommitdiff
path: root/meta/template/io.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r--meta/template/io.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua
index b2846878..b1fe5a9e 100644
--- a/meta/template/io.lua
+++ b/meta/template/io.lua
@@ -47,7 +47,7 @@ function io.lines(filename, ...) end
---#DES 'io.open'
---@param filename string
----@param mode openmode
+---@param mode? openmode
---@return file*?
---@return string? errmsg
---@nodiscard
@@ -157,7 +157,7 @@ function file:seek(whence, offset) end
---#DES 'file:setvbuf'
---@param mode vbuf
----@param size integer
+---@param size? integer
function file:setvbuf(mode, size) end
---#DES 'file:write'