0e7bfc88c6
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> |
||
---|---|---|
.. | ||
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 | ||
ubluepy_service.c | ||
ubluepy_uuid.c |