revised callback system to use multiple arguments; added tobitstring function in utility

This commit is contained in:
Redo
2019-05-10 21:07:35 -05:00
parent 10611449bf
commit d2a648f7d9
3 changed files with 17 additions and 5 deletions

View File

@@ -32,8 +32,8 @@ end
-- sim:queuecallback(self, str)
-- end
function Gate:cb(str)
sim:queuecallback(self, str)
function Gate:cb(...)
sim:queuecallback(self, ...)
end
function Gate:queue(delay)