micropython/ports/nrf/modules/ubluepy
Jim Mussared 0e7bfc88c6 all: Use mp_obj_malloc everywhere it's applicable.
This replaces occurences of

    foo_t *foo = m_new_obj(foo_t);
    foo->base.type = &foo_type;

with

    foo_t *foo = mp_obj_malloc(foo_t, &foo_type);

Excludes any places where base is a sub-field or when new0/memset is used.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-05-03 22:28:14 +10:00
..
modubluepy.c
modubluepy.h
ubluepy_characteristic.c
ubluepy_constants.c
ubluepy_delegate.c
ubluepy_descriptor.c
ubluepy_peripheral.c
ubluepy_scan_entry.c
ubluepy_scanner.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
ubluepy_service.c
ubluepy_uuid.c