Sign in
fuchsia
/
third_party
/
swig
/
34ee191769e885fefa380d4e7c09c17f3d103ae6
/
.
/
Examples
/
test-suite
/
python
/
li_cpointer_runme.py
blob: f0ec9906063268cf533008afb91c43c5262a8233 [
file
] [
log
] [
blame
]
from
li_cpointer
import
*
p
=
new_intp
()
if
intp_value
(
p
)
!=
0
:
raise
RuntimeError
(
"not initialized"
)
intp_assign
(
p
,
3
)
if
intp_value
(
p
)
!=
3
:
raise
RuntimeError
delete_intp
(
p
)