Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
100cd36a
Commit
100cd36a
authored
Apr 26, 2014
by
Paul Sokolovsky
Browse files
objstringio: Compile only if MICROPY_ENABLE_MOD_IO defined.
parent
cb9dc086
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objstringio.c
View file @
100cd36a
...
...
@@ -9,6 +9,8 @@
#include
"runtime.h"
#include
"stream.h"
#if MICROPY_ENABLE_MOD_IO
typedef
struct
_mp_obj_stringio_t
{
mp_obj_base_t
base
;
vstr_t
*
vstr
;
...
...
@@ -117,3 +119,5 @@ const mp_obj_type_t mp_type_stringio = {
.
stream_p
=
&
stringio_stream_p
,
.
locals_dict
=
(
mp_obj_t
)
&
stringio_locals_dict
,
};
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment