lua-users home
lua-l archive

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

I've tryied just that! And received the error message
"attempt to call a table value"


> it's even simpler ... you just have to do
> lua_getref(l, func)
> lua_getref(l, tab)
> lua_call(l, 1)
> the func and paramter will be removed from the stack by lua_call
>   Michael