Get Lua code from a function reference?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Get Lua code from a function reference?
- From: "lists@..." <lists@...>
- Date: 2006年7月22日 18:38:57 -0700
Hi quick question:
If I define a function thus:
foo = function()
print("foo called")
end
Then set
bar = foo
Is there any way later in the execution of the program that I can
retrieve the source Lua code of foo from bar?
Thanks!