projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ff791f
)
* luci/libs/core: Small translation fix for get_bytecode()
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 24 Jul 2008 15:25:52 +0000
(15:25 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 24 Jul 2008 15:25:52 +0000
(15:25 +0000)
libs/core/luasrc/util.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index 31e3b10a33f22a4754567de4087dfdf7235c50e8..700a4128f4c616351dc06ae122035d059f1a5ea5 100644
(file)
--- a/
libs/core/luasrc/util.lua
+++ b/
libs/core/luasrc/util.lua
@@
-440,8
+440,8
@@
end
--- Return the current runtime bytecode of the given data. The byte code
-- will be stripped before it is returned if the given value is a function.
--- Return the current runtime bytecode of the given data. The byte code
-- will be stripped before it is returned if the given value is a function.
--- @param val
Function v
alue to return as bytecode
--- @return String value containing the bytecode of the given
function
+-- @param val
V
alue to return as bytecode
+-- @return String value containing the bytecode of the given
data
function get_bytecode(val)
if type(val) == "function" then
local code = string.dump(val)
function get_bytecode(val)
if type(val) == "function" then
local code = string.dump(val)