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/modmath.c | |
parent | c60a261ef03f906ae1973f93c63169a5236f0b1f (diff) |
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/modmath.c')
-rw-r--r-- | py/modmath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modmath.c b/py/modmath.c index e0ff16343..0fd583c2f 100644 --- a/py/modmath.c +++ b/py/modmath.c @@ -32,7 +32,7 @@ #include "obj.h" #include "builtin.h" -#if MICROPY_ENABLE_FLOAT && MICROPY_PY_MATH +#if MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH //TODO: Change macros to check for overflow and raise OverflowError or RangeError #define MATH_FUN_1(py_name, c_name) \ @@ -184,4 +184,4 @@ const mp_obj_module_t mp_module_math = { .globals = (mp_obj_dict_t*)&mp_module_math_globals, }; -#endif // MICROPY_ENABLE_FLOAT && MICROPY_PY_MATH +#endif // MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH |