mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
Update history
This commit is contained in:
@@ -4,7 +4,9 @@ local table = require "table"
|
||||
local packbytes
|
||||
local packvalue
|
||||
|
||||
if _VERSION == "Lua 5.3" then
|
||||
local version = _VERSION:match "5.*"
|
||||
|
||||
if version and tonumber(version) >= 5.3 then
|
||||
function packbytes(str)
|
||||
return string.pack("<s4",str)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user