diff options
| author | Damien George | 2016-10-18 11:06:20 +1100 |
|---|---|---|
| committer | Damien George | 2016-10-21 16:26:01 +1100 |
| commit | 4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2 (patch) | |
| tree | d6188cf8f6579ffa66b8370032b8184a901a5312 /bare-arm | |
| parent | 5d0735b93a52ff7f2f41dd27f3a22ca847f6b49b (diff) | |
py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.
In order to have more fine-grained control over how builtin functions are
constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific,
with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW. These names now
match the MP_DEFINE_CONST_FUN_OBJ macros.
Diffstat (limited to 'bare-arm')
| -rw-r--r-- | bare-arm/mpconfigport.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h index 79b2b7328..912fae66f 100644 --- a/bare-arm/mpconfigport.h +++ b/bare-arm/mpconfigport.h @@ -61,7 +61,6 @@ typedef long mp_off_t; #define MP_PLAT_PRINT_STRN(str, len) (void)0 // extra built in names to add to the global namespace -extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj; #define MICROPY_PORT_BUILTINS \ { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, |
