> +1 to this. Handling resource management in C is pretty cumbersome if the function calls any Lua function that might throw an exception (which is most).
Making life easier for C developers is a noble goal, but it should not be a constraint for the primary objective, viz., deterministic finalisation for Lua programs.
Cheers,
V.