diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2023-06-02 12:33:25 +1000 |
|---|---|---|
| committer | Jim Mussared <jim.mussared@gmail.com> | 2023-06-08 17:54:21 +1000 |
| commit | 2eba98f1e0d292de0f7e48ce228221ef50c01967 (patch) | |
| tree | 2a4d35f0e5a994072b3cd929313e6d9c70fa9c48 /extmod/modheapq.c | |
| parent | 24c02c4eb5f11200f876bb57cd63a9d0bae91fd3 (diff) | |
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'extmod/modheapq.c')
| -rw-r--r-- | extmod/modheapq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modheapq.c b/extmod/modheapq.c index 79a12c2b9..db1e35bac 100644 --- a/extmod/modheapq.c +++ b/extmod/modheapq.c @@ -118,7 +118,7 @@ const mp_obj_module_t mp_module_heapq = { .globals = (mp_obj_dict_t *)&mp_module_heapq_globals, }; -MP_REGISTER_MODULE(MP_QSTR_heapq, mp_module_heapq); +MP_REGISTER_EXTENSIBLE_MODULE(MP_QSTR_heapq, mp_module_heapq); #endif #endif // MICROPY_PY_HEAPQ |
