commit | 282ca09f8e386f24e1e87acd3de93954b6a8035c | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Tue Apr 07 00:16:51 2015 +0300 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Tue Apr 07 00:17:11 2015 +0300 |
tree | efe282cde88a3c5299a54cdf5f0d9536c8a13404 | |
parent | e2d44e30c77360789d6e7c1211b222f93b92e0df [diff] [blame] |
py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports.
diff --git a/py/mpconfig.h b/py/mpconfig.h index 4065c68..824ef76 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h
@@ -469,6 +469,11 @@ #define MICROPY_PY_BUILTINS_EXECFILE (0) #endif +// Whether to support reversed function(type) +#ifndef MICROPY_PY_BUILTINS_REVERSED +#define MICROPY_PY_BUILTINS_REVERSED (1) +#endif + // Whether to set __file__ for imported modules #ifndef MICROPY_PY___FILE__ #define MICROPY_PY___FILE__ (1)