mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
fix named pipe read (unix) & produce core:error event on error in schedule callback & fix editor traceback
This commit is contained in:
parent
d32407f1bb
commit
31cd7912ec
3 changed files with 5 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ local lib = {}
|
|||
|
||||
function lib.read(fd, len)
|
||||
local buffer = FFI.new("uint8_t[?]", len)
|
||||
local result = C.read(fd, buffer, len)
|
||||
local result = tonumber(C.read(fd, buffer, len))
|
||||
|
||||
local out = Bytearray()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue