summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/core/luasrc/util.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua
index 31e3b10a33..700a4128f4 100644
--- 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.
--- @param val Function value to return as bytecode
--- @return String value containing the bytecode of the given function
+-- @param val Value 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)