[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Function closures in 4.1w3
- From: "Curt Carpenter" <curtc@...>
- Date: Fri, 1 Feb 2002 16:38:21 -0800
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