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
..
2022-04-20 16:17:35 +10:00
2022-02-28 19:02:58 +11:00
2020-02-28 10:33:03 +11:00
2022-05-03 22:28:14 +10:00
2020-10-29 15:29:50 +11:00
2020-09-02 00:19:06 +10:00
2021-07-12 17:08:10 +10:00
2021-07-12 17:08:10 +10:00
2017-09-06 13:40:51 +10:00
2022-04-28 17:23:03 +10:00
2022-03-09 21:13:57 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2020-11-13 11:13:37 +11:00
2020-02-28 10:33:03 +11:00
2021-01-23 16:55:24 +11:00
2022-03-09 21:13:57 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2020-11-13 17:19:05 +11:00
2021-02-12 12:07:05 +11:00
2020-09-08 12:53:24 +10:00
2020-09-08 11:41:31 +10:00
2020-09-08 12:53:24 +10:00
2022-04-11 15:28:56 +10:00
2019-06-05 15:28:30 +10:00
2021-07-12 17:08:10 +10:00
2020-11-13 17:19:05 +11:00
2020-09-08 12:53:24 +10:00
2021-07-12 17:08:10 +10:00
2020-04-13 21:44:09 +10:00
2020-02-28 10:31:07 +11:00
2021-06-19 09:49:00 +10:00