Software /
code /
prosody
Comparison
net/websocket/frames.lua @ 9691:e11e076f0eb8
various: Don't rely on _G.unpack existing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Dec 2018 17:09:55 +0100 |
parent | 9659:86c431650dfd |
child | 9692:affcbccc1dff |
comparison
equal
deleted
inserted
replaced
9690:75ed3403065d | 9691:e11e076f0eb8 |
---|---|
14 local band = bit.band; | 14 local band = bit.band; |
15 local bor = bit.bor; | 15 local bor = bit.bor; |
16 local bxor = bit.bxor; | 16 local bxor = bit.bxor; |
17 local lshift = bit.lshift; | 17 local lshift = bit.lshift; |
18 local rshift = bit.rshift; | 18 local rshift = bit.rshift; |
19 local unpack = table.unpack or unpack; -- luacheck: ignore 113 | |
19 | 20 |
20 local t_concat = table.concat; | 21 local t_concat = table.concat; |
21 local s_byte = string.byte; | 22 local s_byte = string.byte; |
22 local s_char= string.char; | 23 local s_char= string.char; |
23 local s_sub = string.sub; | 24 local s_sub = string.sub; |