lua-users home
lua-l archive

Re: The document of lua_pushcfunction

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


> 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

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