diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-15 07:28:19 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-15 07:28:19 +0300 |
commit | a47b64ae2dd81e45da082c6337aaf5fcef4da75c (patch) | |
tree | 48912484589ae106bedbcd17f463fdc802cc8744 /py/mpconfig.h | |
parent | 0c124c3123a6c7607375e2df0c49edef577a8b8d (diff) |
objstringio: Implement io.BytesIO.
Done in generalized manner, allowing any stream class to be specified as
working with bytes.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 76cd1091c..53429f1c1 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -225,6 +225,10 @@ typedef double mp_float_t; #define MICROPY_ENABLE_MOD_IO (1) #endif +#ifndef MICROPY_IO_BYTESIO +#define MICROPY_IO_BYTESIO (1) +#endif + // Whether to provide "struct" module #ifndef MICROPY_ENABLE_MOD_STRUCT #define MICROPY_ENABLE_MOD_STRUCT (1) |