mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-30 21:23:00 +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:
		| @@ -137,6 +137,15 @@ handleMetatable = { | ||||
|             return handle.seek(whence, offset) | ||||
|         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, | ||||
|  | ||||
|         --- Write one or more values to the file | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates