diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-25 23:52:57 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-25 23:52:57 +0100 |
commit | 1463c1fa82e930edfef9df9b70c6b8c12cdcb1c1 (patch) | |
tree | e8a578738b3a90c917e7f35ccce74eba1c50a706 /py/mpconfig.h | |
parent | c492cf1f442653019b287bf0e8bd0c43f2abd837 (diff) | |
download | micropython-1463c1fa82e930edfef9df9b70c6b8c12cdcb1c1.tar.gz micropython-1463c1fa82e930edfef9df9b70c6b8c12cdcb1c1.zip |
py: Add MICROPY_ENABLE_DOC_STRING, disabled by default.
Also add a few STATIC's to some compile functions that should have them.
Addresses issue #521.
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 4c3e0706a7..b669128ea0 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -89,6 +89,11 @@ typedef long long mp_longint_impl_t; #define MICROPY_ENABLE_SOURCE_LINE (0) #endif +// Whether to include doc strings (increases RAM usage) +#ifndef MICROPY_ENABLE_DOC_STRING +#define MICROPY_ENABLE_DOC_STRING (0) +#endif + // Float and complex implementation #define MICROPY_FLOAT_IMPL_NONE (0) #define MICROPY_FLOAT_IMPL_FLOAT (1) |