Sign in
android
/
platform
/
external
/
swig
/
7aafe3d8b2c8b138c431d5fcc98a4d2a7c3270f9
/
.
/
Examples
/
test-suite
/
python
/
li_cmalloc_runme.py
blob: 9e698aee2cfc4f6d38e4addf063fa4a72f45775e [
file
] [
log
] [
blame
]
from
li_cmalloc
import
*
p
=
malloc_int
()
free_int
(
p
)
ok
=
0
try
:
p
=
calloc_int
(-
1
)
free_int
(
p
)
except
:
ok
=
1
if
ok
!=
1
:
raise
RuntimeError