[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: The document of lua_pushcfunction
- From: 云风 <cloudwu@...>
- Date: Thu, 15 Jan 2015 21:36:13 +0800
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