mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
Merge remote-tracking branch 'upstream/client-side-tests' into io-streams-enhance
# Conflicts: # src/logic/scripting/descriptors_manager.cpp # src/logic/scripting/descriptors_manager.hpp
This commit is contained in:
commit
db014cca09
46 changed files with 1172 additions and 282 deletions
|
|
@ -388,6 +388,10 @@ function io_stream:seek(mode, offset)
|
|||
self.ioLib.seek(self.descriptor, mode, offset)
|
||||
end
|
||||
|
||||
function io_stream:tell()
|
||||
return self.ioLib.tell(self.descriptor)
|
||||
end
|
||||
|
||||
function io_stream:is_alive()
|
||||
return self.ioLib.is_alive(self.descriptor)
|
||||
end
|
||||
|
|
@ -414,4 +418,4 @@ function io_stream:flush()
|
|||
if self.flushMode ~= FLUSH_MODE_ONLY_BUFFER then self.ioLib.flush(self.descriptor) end
|
||||
end
|
||||
|
||||
return io_stream
|
||||
return io_stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue