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-11 12:24:43 +10:00
2022-03-08 23:11:17 +11:00
2021-12-14 08:07:52 +01:00
2022-03-17 13:11:39 +11:00
2022-04-11 12:25:15 +10:00
2022-04-11 12:25:23 +10:00
2022-03-30 14:12:40 +11:00
2022-03-30 14:12:40 +11:00
2022-03-08 23:11:01 +11:00
2021-12-14 08:07:52 +01:00
2021-09-07 20:45:33 +02:00
2021-05-26 00:12:42 +10:00
2021-05-26 00:12:42 +10:00
2022-05-03 22:28:14 +10:00
2021-10-25 15:50:44 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2021-07-15 00:12:41 +10:00
2022-03-08 22:30:33 +11:00
2022-05-03 22:28:14 +10:00
2022-04-11 12:25:23 +10:00
2021-09-07 20:45:33 +02:00
2022-05-03 22:28:14 +10:00
2021-06-03 13:03:02 +10:00
2022-05-03 22:28:14 +10:00
2021-10-25 15:43:56 +11:00
2022-03-30 14:12:40 +11:00
2022-04-11 12:30:59 +10:00
2021-12-14 08:07:52 +01:00
2021-10-22 08:23:24 +02:00
2022-03-30 14:12:40 +11:00
2022-04-11 12:25:23 +10:00
2021-10-25 23:49:28 +11:00
2021-06-01 23:42:57 +10:00
2022-03-09 10:03:23 +11:00
2022-04-11 12:25:23 +10:00
2022-03-30 14:12:40 +11:00
2022-04-11 12:30:59 +10:00
2021-12-14 08:07:52 +01:00
2021-10-25 15:14:26 +11:00
2021-12-14 08:07:52 +01:00
2021-10-25 15:14:26 +11:00
2021-10-25 15:14:26 +11:00
2022-03-08 22:30:33 +11:00
2022-03-08 22:30:33 +11:00
2020-03-11 15:34:13 +11:00
2021-10-25 23:52:08 +11:00
2022-03-30 14:12:40 +11:00
2021-09-07 20:45:33 +02:00
2021-10-25 15:14:26 +11:00
2021-10-25 15:14:26 +11:00
2021-12-14 08:07:52 +01:00
2021-05-18 22:36:32 +10:00
2021-02-12 12:50:36 +11:00
2022-01-27 17:05:34 +11:00