forked from mirrors/0ad
2c167153e9
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.
17 lines
230 B
Lua
17 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
|