Order of C closure upvalues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Order of C closure upvalues

Reuben Thomas-3
One thing the Lua manual is not quite clear on (p. 28), so it would be good
if it could be improved by adding the answer to my question: when you
register upvalues for a C closure, in which order do they appear on the
stack when the C function is called? I presume that they're in the same
order as they were in when the function was registered...

-- 
http://sc3d.org/rrt/ | humour, n.  unexpected recognition