Hallo,

On 9/5/07, Stephen Leake <[EMAIL PROTECTED]> wrote:
>
> I'm not clear what this means. Ah; not all Lua functions have names;
> they can be dynamically created. So are you asking whether functions
> passed to `add_hook' _must_ have names? I don't think that should
> matter (and can Lua tell whether a function has a name? I guess it
> probably can).
>

     Functions don't have names, they are just bound to variables.
Although you can get the "names" of the functions in the current call
stack using the debug interface, this is better be not abused because
it slows down the code.

Cheers,
-- 
-alex
http://www.ventonegro.org/


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to