[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Gets function name from the stack
- From: "Patrick Donnelly" <batrick.donnelly@...>
- Date: Fri, 28 Mar 2008 10:53:42 -0600
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