circuitpython/ports/cc3200/mods
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
..
modmachine.c ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
modnetwork.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
modnetwork.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
moduhashlib.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
moduos.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
moduos.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modusocket.c extmod/modusocket: Provide config macro for socket.listen backlog deflt. 2022-04-11 15:28:56 +10:00
modusocket.h cc3200/mods: Include stream.h to get definition of mp_stream_p_t. 2018-06-04 16:58:45 +10:00
modussl.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
modutime.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
modwipy.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modwlan.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
modwlan.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybadc.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybadc.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybflash.c all: Remove commented-out include statements. 2020-04-23 11:24:15 +10:00
pybflash.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybi2c.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybi2c.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybpin.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybpin.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybrtc.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
pybrtc.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybsd.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybsd.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybsleep.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
pybsleep.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybspi.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybspi.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybtimer.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
pybtimer.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybuart.c all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
pybuart.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
pybwdt.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
pybwdt.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00