Sign in
◑
Theme
fuchsia
/
third_party
/
swig
/
725bc081da170662b194ca1ff5e7e75144bc0760
/
.
/
Examples
/
test-suite
/
lua
/
constructor_explicit_runme.lua
blob: 5259eff9aded416dce89a52b1b2e52a0710ac9f9 [
file
]
local
v
=
require
(
"constructor_explicit"
)
local
f
=
v
.
Foo
()
assert
(
swig_type
(
f
)
==
"Foo *"
)
f
=
v
.
Foo
(
12
)
assert
(
swig_type
(
f
)
==
"Foo *"
)
local
f2
=
v
.
test
(
f
)
assert
(
swig_type
(
f2
)
==
"Foo *"
)