diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-01 13:32:54 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-01 13:32:54 +0100 |
commit | fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9 (patch) | |
tree | 9160abef8ff03cba6ba2d1d5664f5fb706917355 /py/pfenv.h | |
parent | c60a261ef03f906ae1973f93c63169a5236f0b1f (diff) | |
download | micropython-fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9.tar.gz micropython-fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9.zip |
Rename bultins config variables to MICROPY_PY_BUILTINS_*.
This renames:
MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET
MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY
MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE
MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT
See issue #35 for discussion.
Diffstat (limited to 'py/pfenv.h')
-rw-r--r-- | py/pfenv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pfenv.h b/py/pfenv.h index 4c902c6bc2..2a3de6c32d 100644 --- a/py/pfenv.h +++ b/py/pfenv.h @@ -46,6 +46,6 @@ void pfenv_vstr_add_strn(void *data, const char *str, unsigned int len); int pfenv_print_strn(const pfenv_t *pfenv, const char *str, unsigned int len, int flags, char fill, int width); int pfenv_print_int(const pfenv_t *pfenv, machine_uint_t x, int sgn, int base, int base_char, int flags, char fill, int width); int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int base_char, int flags, char fill, int width); -#if MICROPY_ENABLE_FLOAT +#if MICROPY_PY_BUILTINS_FLOAT int pfenv_print_float(const pfenv_t *pfenv, mp_float_t f, char fmt, int flags, char fill, int width, int prec); #endif |