Sign in
android
/
platform
/
external
/
swig
/
d0f0f90be16c2ac553b5fa08512045273135147a
/
.
/
Examples
/
test-suite
/
python
/
director_unroll_runme.py
blob: ea602d8e20270d0638dc82adc2c552281932f552 [
file
] [
log
] [
blame
]
import
director_unroll
class
MyFoo
(
director_unroll
.
Foo
):
def
ping
(
self
):
return
"MyFoo::ping()"
a
=
MyFoo
()
b
=
director_unroll
.
Bar
()
b
.
set
(
a
)
c
=
b
.
get
()
if
not
(
a
.
this
==
c
.
this
):
raise
RuntimeError
(
"{} {}"
.
format
(
a
,
c
))