lua-users home
lua-l archive

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

-- 
http://blog.codingnow.com