lunarmodules/lua-compat-5.3

lua_getuservalue should return type

Closed this issue · 2 comments

We have a wrapper that works for 5.1, but 5.2 still returns void

lua_getuservalue already returns the type of the uservalue even on Lua 5.2. See here.

@daurnimator Do you have a specifiy case where it fails?

Ah no. I didn't notice the macro/wrapper.