Sign in
android
/
platform
/
external
/
swig
/
refs/heads/main
/
.
/
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
)