Closed justincormack closed 10 years ago
Currently ctests have for k, v in pairs(c.IOCTL) do if type(v) == "table" then c.IOCTL[k] = v.number end end when tonumber would be nicer; S.ioctl could use too.
for k, v in pairs(c.IOCTL) do if type(v) == "table" then c.IOCTL[k] = v.number end end
Oh yes, Lua doesnt support __tonumber metamethods. Yet.
Currently ctests have
for k, v in pairs(c.IOCTL) do if type(v) == "table" then c.IOCTL[k] = v.number end end
when tonumber would be nicer; S.ioctl could use too.