[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The document of lua_pushcfunction
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 15 Jan 2015 12:53:21 -0200
> I read http://www.lua.org/manual/5.3/manual.html#lua_pushcfunction
>
> ---
> lua_pushcfunction is defined as a macro:
>
> #define lua_pushcfunction(L,f) lua_pushcclosure(L,f,0)
>
> Note that f is used twice.
> ----
>
> Why f is used twice ? I saw only once.
Sure! Thanks for the feedback.
-- Roberto