Sign in
android
/
platform
/
external
/
swig
/
refs/heads/main
/
.
/
Examples
/
test-suite
/
python
/
li_std_wstream_runme.py
blob: 0ecdddbf8166842bc81398cc77a712b8adb137ad [
file
] [
log
] [
blame
]
from
li_std_wstream
import
*
a
=
A
()
o
=
wostringstream
()
o
<<
a
<<
" "
<<
2345
<<
" "
<<
1.435
<<
wends
if
o
.
str
()
!=
"A class 2345 1.435\0"
:
raise
RuntimeError
(
"str failed: \"%s\""
.
format
(
o
.
str
()))