lua-users home
lua-l archive

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

A quick question:

What the correct way to find out the number of aruments a
function retuns.

This is in C and is when I'm doing a lua_callfunction from C and
wants to pop the returned values of the stack but if i just call
lua_pop and there is no more on the stack a error is generated.