Re: Possible documentation improvement on Lua 5.1 Reference Manual, lua_call()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Possible documentation improvement on Lua 5.1 Reference Manual, lua_call()
- From: Axel Kittenberger <axkibe@...>
- Date: 2011年1月20日 15:43:00 +0100
"To call a function you must use the following protocol: first, the
function to be called is pushed onto the stack; then, the arguments to
the function are pushed in direct order"
I dont see any confusing in this. And as others point out, you push
the function itself on the stack not "the name". Its comparable to a
function pointer in C.