lua-users home
lua-l archive

Re: Gets function name from the stack

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Mar 28, 2008 at 6:38 AM, Erik Hougaard <erik@hougaard.com> wrote:
> Nicolas ANTONIAZZI wrote:
> > Thanks a lot for your answers!!! It helps me a lot.
> >
> > Nicolas
> I would say Luiz's use of lua_pushcclosure is much better.
>
> /Erik
Naturally, but lhf's solution provides a static name; however, I got
the impression he wanted the name the function was called with.
-- 
-Patrick Donnelly
"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."
-Will Durant

AltStyle によって変換されたページ (->オリジナル) /