Sign in
fuchsia
/
third_party
/
swig
/
7983c831167a57de5b9f5126ccc9b68a9b04c0d9
/
.
/
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
)