circuitpython/ports/cc3200/misc
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
..
antenna.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
antenna.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
FreeRTOSHooks.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
help.c py/builtinhelp: Change signature of help text var from pointer to array. 2017-09-12 16:03:52 +10:00
mperror.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
mperror.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
mpirq.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
mpirq.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00