Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py/misc: Remove m_new_obj[_var]_with_finaliser macros.
They are no longer used. The new `mp_obj_malloc_with_finaliser()` macros should be used instead, which force the setting of the `base.type` field. And there's always `m_malloc_with_finaliser()` if needed. Signed-off-by: Damien George <damien@micropython.org>
- Loading branch information
9716171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😭
9716171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Gadgetoid how is this a problem for you? As the comment of the commit says, you probably want to use the new
mp_obj_malloc_with_finaliser()
instead.