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
..
2021-10-28 15:25:38 +11:00
2022-01-07 11:33:28 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-27 14:04:53 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2022-05-03 22:28:14 +10:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-10-28 15:25:38 +11:00
2021-08-08 23:09:26 +10:00
2021-10-27 14:04:53 +11:00
2020-08-29 15:18:01 +10:00
2020-12-07 20:04:50 +01:00
2018-07-18 17:12:26 +10:00
2018-07-18 17:12:26 +10:00
2018-07-18 17:12:26 +10:00
2018-07-18 17:12:26 +10:00
2019-10-10 21:35:27 +02:00
2019-10-10 21:35:27 +02:00
2019-10-10 21:35:27 +02:00
2018-07-18 17:12:26 +10:00
2018-07-18 17:12:26 +10:00
2020-12-07 20:04:50 +01:00
2018-07-18 17:12:26 +10:00
2019-03-15 20:50:15 +01:00
2019-03-15 20:50:15 +01:00