Fix unwrapping of LUA lightuserdata type. Add test case.

This commit is contained in:
Ryan Nevell 2020-02-17 08:45:42 -08:00
commit 33c59614fc
4 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,7 @@
require("import") -- the import fn
require("lua_lightuserdata") -- import lib
local t = lua_lightuserdata
local d = t.get_lightuserdata()
local r = t.check_lighuserdata(d)
assert(r)