lua-users home
lua-l archive

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


O manual de 5.2 também está assim.

> > 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