Download:
child 21:27da91327bbe
parent 19:2a601f9fd2ab
20:1820a85e8c42
Anton Shestakov <av6@dwimlabs.net>, Sat, 10 Sep 2016 10:41:17 +0800
hglib: at least try to be more 5.2-friendly

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
hglib.lua file | annotate | diff | comparison | revisions
--- a/hglib.lua Sat Sep 10 08:04:17 2016 +0800
+++ b/hglib.lua Sat Sep 10 10:41:17 2016 +0800
@@ -1,5 +1,7 @@
local lpc = require('lpc')
+local unpack = table.unpack or unpack -- luacheck: ignore undefined variable unpack
+
local sizes = { i4 = 4, u4 = 4, c = 1 }
local function write_u4(wh, value)