luvit/luv

Change `get_constrained_memory` binding to return `nil` instead of `0`

squeek502 opened this issue · 0 comments

From the libuv docs:

If there is no such constraint, or the constraint is unknown, 0 is returned.

Our Lua binding can make this API a bit more user-friendly by converting 0 to nil before returning. This would be a breaking change, though.