Sign in
◑
Theme
fuchsia
/
third_party
/
swig
/
725bc081da170662b194ca1ff5e7e75144bc0760
/
.
/
Examples
/
test-suite
/
lua
/
li_cpointer_runme.lua
blob: 4fe2014aceaa172eed8206840dbbc04d658675ec [
file
]
local
v
=
require
(
"li_cpointer"
)
local
p
=
v
.
new_intp
()
assert
(
v
.
intp_value
(
p
)
==
0
,
"not initialized"
)
v
.
intp_assign
(
p
,
3
)
assert
(
v
.
intp_value
(
p
)
==
3
)
v
.
delete_intp
(
p
)