1 parent cb9dc08 commit 100cd36Copy full SHA for 100cd36
1 file changed
py/objstringio.c
@@ -9,6 +9,8 @@
9
#include "runtime.h"
10
#include "stream.h"
11
12
+#if MICROPY_ENABLE_MOD_IO
13
+
14
typedef struct _mp_obj_stringio_t {
15
mp_obj_base_t base;
16
vstr_t *vstr;
@@ -117,3 +119,5 @@ const mp_obj_type_t mp_type_stringio = {
117
119
.stream_p = &stringio_stream_p,
118
120
.locals_dict = (mp_obj_t)&stringio_locals_dict,
121
};
122
123
+#endif
0 commit comments