Fix unwrapping of LUA lightuserdata type. Add test case.
This commit is contained in:
parent
b465531141
commit
33c59614fc
4 changed files with 29 additions and 0 deletions
7
Examples/test-suite/lua/lua_lightuserdata_runme.lua
Normal file
7
Examples/test-suite/lua/lua_lightuserdata_runme.lua
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue