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