diff options
| author | Damien George <damien@micropython.org> | 2023-06-12 13:09:48 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-06-14 19:03:46 +1000 |
| commit | 5ce1a03a78bf87c914d53f63a35cf2b81963e6e4 (patch) | |
| tree | 93aca7cbe52a9edd02441372041e6d1927b58852 /py/builtin.h | |
| parent | 44295c9daa8a9210e2855ef431de21362c0cb662 (diff) | |
py/makemoduledefs.py: Automatically declare delegation attr functions.
So that the delegation functions don't need to be put somewhere global,
like in mpconfigport.h. That would otherwise make it hard for extension
modules to use delegation.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/builtin.h')
| -rw-r--r-- | py/builtin.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/builtin.h b/py/builtin.h index 57f275fb3..81d078980 100644 --- a/py/builtin.h +++ b/py/builtin.h @@ -132,8 +132,6 @@ extern const mp_obj_module_t mp_module___main__; extern const mp_obj_module_t mp_module_builtins; extern const mp_obj_module_t mp_module_sys; -void mp_module_sys_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest); - // Modules needed by the parser when MICROPY_COMP_MODULE_CONST is enabled. extern const mp_obj_module_t mp_module_errno; extern const mp_obj_module_t mp_module_uctypes; |
