diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-17 22:56:34 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-17 22:56:34 +0100 |
commit | 612045f53f7e5edf9faa359ee9ee52d490d58000 (patch) | |
tree | a021612e31ff6275246514405c4a8421c6eff5d7 /py/mpconfig.h | |
parent | 8a9b999f1c9a0edf84b2507940efb8deaaa380b8 (diff) | |
download | micropython-612045f53f7e5edf9faa359ee9ee52d490d58000.tar.gz micropython-612045f53f7e5edf9faa359ee9ee52d490d58000.zip |
py: Add native json printing using existing print framework.
Also add start of ujson module with dumps implemented. Enabled in unix
and stmhal ports. Test passes on both.
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 adbcb0eb71..cf85533395 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -390,6 +390,10 @@ typedef double mp_float_t; #define MICROPY_PY_ZLIBD (0) #endif +#ifndef MICROPY_PY_UJSON +#define MICROPY_PY_UJSON (0) +#endif + /*****************************************************************************/ /* Hooks for a port to add builtins */ |