mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-10 00:45:47 -07:00
Fixes an issue on macOS Mojave that was patched in fa1c281e79.
The list of changes can be found under
build/premake/premake5/CHANGES.txt.
This was SVN commit r22021.
16 lines
230 B
Lua
16 lines
230 B
Lua
function sink.table(t)
|
|
t = t or {}
|
|
local f = function(chunk, err)
|
|
if chunk then table.insert(t, chunk) end
|
|
return 1
|
|
end
|
|
return f, t
|
|
end
|
|
|
|
local function null()
|
|
return 1
|
|
end
|
|
|
|
function sink.null()
|
|
return null
|
|
end
|