mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-13 03:30:29 +00:00
Add documentation for io.setvbuf
Fixes #746. Love how "good first issue" guarantees that nobody will do it. Not actually true, and thank you for those people who have contributed!
This commit is contained in:
parent
669b6d2d56
commit
e48427dbbc
@ -137,6 +137,15 @@ handleMetatable = {
|
|||||||
return handle.seek(whence, offset)
|
return handle.seek(whence, offset)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
--[[- Sets the buffering mode for an output file.
|
||||||
|
|
||||||
|
This has no effect under ComputerCraft, and exists with compatility
|
||||||
|
with base Lua.
|
||||||
|
@tparam string mode The buffering mode.
|
||||||
|
@tparam[opt] number size The size of the buffer.
|
||||||
|
@see file:setvbuf Lua's documentation for `setvbuf`.
|
||||||
|
@deprecated This has no effect in CC.
|
||||||
|
]]
|
||||||
setvbuf = function(self, mode, size) end,
|
setvbuf = function(self, mode, size) end,
|
||||||
|
|
||||||
--- Write one or more values to the file
|
--- Write one or more values to the file
|
||||||
|
Loading…
Reference in New Issue
Block a user