Software / code / prosody
Comparison
util/multitable.lua @ 7188:e8f20be3e6f8
Merge 0.10->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 22 Feb 2016 18:46:59 +0100 |
| parent | 7185:5687788a2e4d |
| child | 8382:e5d00bf4a4d5 |
comparison
equal
deleted
inserted
replaced
| 7179:bfa3b2ee384c | 7188:e8f20be3e6f8 |
|---|---|
| 6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
| 7 -- | 7 -- |
| 8 | 8 |
| 9 local select = select; | 9 local select = select; |
| 10 local t_insert = table.insert; | 10 local t_insert = table.insert; |
| 11 local unpack, pairs, next, type = unpack, pairs, next, type; | 11 local pairs, next, type = pairs, next, type; |
| 12 local unpack = table.unpack or unpack; --luacheck: ignore 113 | |
| 12 | 13 |
| 13 local _ENV = nil; | 14 local _ENV = nil; |
| 14 | 15 |
| 15 local function get(self, ...) | 16 local function get(self, ...) |
| 16 local t = self.data; | 17 local t = self.data; |