diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-13 18:59:45 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-13 18:59:45 +0100 |
commit | 777b0f32f459dbf5aac051eab3d91abbc6505501 (patch) | |
tree | 30bac9053478173fa828758d1d301ea3018f29e3 /py/mpconfig.h | |
parent | 4417478d0fc39b69fda058e93730b3dc3fdb1ec9 (diff) | |
download | micropython-777b0f32f459dbf5aac051eab3d91abbc6505501.tar.gz micropython-777b0f32f459dbf5aac051eab3d91abbc6505501.zip |
py: Add property object, with basic functionality.
Enabled by MICROPY_ENABLE_PROPERTY.
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 cbe18b409b..f9c02a6f02 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -135,6 +135,11 @@ typedef double mp_float_t; #define MICROPY_ENABLE_SLICE (1) #endif +// Whether to support the property object +#ifndef MICROPY_ENABLE_PROPERTY +#define MICROPY_ENABLE_PROPERTY (0) +#endif + // Enable features which improve CPython compatibility // but may lead to more code size/memory usage. // TODO: Originally intended as generic category to not |