diff options
| author | Damien George | 2014-10-23 13:34:35 +0100 |
|---|---|---|
| committer | Damien George | 2014-10-23 13:34:35 +0100 |
| commit | dd4f4530ab35c162252b003d2713b06eb65903e1 (patch) | |
| tree | 6adec3bd3228d49b72e50507e916551a91b6b3be /py/mpconfig.h | |
| parent | 3aa09f5784bf06f2b23b0d0082cd244af53ca8a9 (diff) | |
py: Add builtin memoryview object (mostly using array code).
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 201621ea1..d24e6b23b 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -287,6 +287,11 @@ typedef double mp_float_t; #define MICROPY_PY_BUILTINS_BYTEARRAY (1) #endif +// Whether to support memoryview object +#ifndef MICROPY_PY_BUILTINS_MEMORYVIEW +#define MICROPY_PY_BUILTINS_MEMORYVIEW (0) +#endif + // Whether to support set object #ifndef MICROPY_PY_BUILTINS_SET #define MICROPY_PY_BUILTINS_SET (1) |
