Software /
code /
prosody
Comparison
util/array.lua @ 12975:d10957394a3c
util: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2023 16:23:16 +0100 |
parent | 12403:42b2713ab818 |
child | 13032:ea4923bebca9 |
comparison
equal
deleted
inserted
replaced
12974:ba409c67353b | 12975:d10957394a3c |
---|---|
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 t_insert, t_sort, t_remove, t_concat | 9 local t_insert, t_sort, t_remove, t_concat |
10 = table.insert, table.sort, table.remove, table.concat; | 10 = table.insert, table.sort, table.remove, table.concat; |
11 local t_move = require "util.table".move; | 11 local t_move = require "prosody.util.table".move; |
12 | 12 |
13 local setmetatable = setmetatable; | 13 local setmetatable = setmetatable; |
14 local getmetatable = getmetatable; | 14 local getmetatable = getmetatable; |
15 local math_random = math.random; | 15 local math_random = math.random; |
16 local math_floor = math.floor; | 16 local math_floor = math.floor; |