Last active
March 17, 2020 13:05
-
-
Save uhziel/a1675f86117b5a90eecdf5e668159427 to your computer and use it in GitHub Desktop.
lua pack and unpack arguments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--return netpack.filter( queue, msg, sz) | |
local results = table.pack(netpack.filter( queue, msg, sz)) | |
skynet.error("un", table.unpack(results)) | |
return table.unpack(results) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment