lua-users home
lua-l archive

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


What's the new way of doing C function closures in 4.1? I notice that
the 4.0 way doesn't work unless you define LUA_COMPATUPVALUES. Without
it the closure values don't get passed on the stack to the function. I
see lua_pushcclosure is still in lua.h, but I didn't see any new
functions to get closure values in some way other than off the stack.

Thanks,

Curt