diff options
author | Steven Barth <steven@midlink.org> | 2008-07-23 14:29:31 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-23 14:29:31 +0000 |
commit | 7a08658fe71e3b0f6e0052709d82b515599d6767 (patch) | |
tree | 4f319c674da8fd88306647c5cead4d39ce12f6bb | |
parent | c5a68895cff827abcc641ea0619a703413d5abe6 (diff) |
libs/core: Fixed docstrings for luci.util
-rw-r--r-- | libs/core/luasrc/util.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index e4e99b9c1..17ee1cd64 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -519,7 +519,7 @@ local oldpcall, oldxpcall = pcall, xpcall coxpt = {} setmetatable(coxpt, {__mode = "kv"}) ---- Identity function for copcall +-- Identity function for copcall local function copcall_id(trace, ...) return ... end @@ -552,7 +552,7 @@ function copcall(f, ...) return coxpcall(f, copcall_id, ...) end ---- Handle return value of protected call +-- Handle return value of protected call function handleReturnValue(err, co, status, ...) if not status then return false, err(debug.traceback(co, (...)), ...) @@ -564,7 +564,7 @@ function handleReturnValue(err, co, status, ...) end end ---- Resume execution of protected function call +-- Resume execution of protected function call function performResume(err, co, ...) return handleReturnValue(err, co, coroutine.resume(co, ...)) end |