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-07-12 16:37:07 +10:00
2021-12-01 11:56:37 +11:00
2017-07-18 11:57:39 +10:00
2021-12-01 11:56:37 +11:00
2022-04-22 16:37:02 +10:00
2020-09-04 00:10:24 +10:00
2022-04-04 23:15:01 +10:00
2021-07-12 17:08:10 +10:00
2021-08-19 22:50:11 +10:00
2021-08-19 22:50:11 +10:00
2022-05-03 22:28:14 +10:00
2020-11-23 19:45:04 +11:00
2020-11-13 11:13:37 +11:00
2017-07-31 18:35:40 +10:00
2017-09-12 16:00:21 +10:00
2017-07-18 11:57:39 +10:00
2019-07-01 22:53:00 +10:00
2017-07-18 11:57:39 +10:00
2021-09-04 16:31:17 +10:00
2021-09-04 16:31:17 +10:00
2022-05-03 22:28:14 +10:00
2017-07-18 11:57:39 +10:00
2022-05-03 22:28:14 +10:00
2020-10-01 12:57:10 +10:00
2022-03-09 10:03:23 +11:00
2022-05-03 22:28:14 +10:00
2022-01-13 13:45:43 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2022-04-11 15:28:56 +10:00
2021-09-15 11:27:38 +10:00
2022-01-21 13:34:06 +11:00
2021-09-02 13:11:23 +10:00
2022-05-03 22:28:14 +10:00
2022-01-23 10:18:01 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2020-04-23 11:24:25 +10:00
2021-08-07 13:52:16 +10:00
2022-03-09 21:13:57 +11:00
2022-02-22 00:59:14 +11:00
2022-02-22 00:59:14 +11:00
2021-05-30 17:05:56 +10:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2022-04-11 15:28:56 +10:00
2021-02-17 11:50:54 +11:00
2021-02-17 11:50:54 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2019-02-14 00:35:45 +11:00
2022-05-03 22:28:14 +10:00
2022-05-03 22:28:14 +10:00
2020-09-08 11:41:31 +10:00
2021-09-19 23:00:39 +10:00
2021-09-15 01:37:27 +10:00
2019-06-03 16:47:35 +10:00
2022-02-18 14:35:26 +11:00
2022-03-09 10:03:23 +11:00
2021-07-22 00:05:17 +10:00
2020-10-01 14:20:42 +10:00
2020-02-28 10:33:03 +11:00
2020-06-19 22:07:32 +10:00
2020-02-28 10:33:03 +11:00
2022-05-03 22:28:14 +10:00
2019-10-29 12:12:37 +11:00
2021-07-12 17:08:10 +10:00
2019-10-29 14:17:29 +11:00
2020-08-25 17:35:19 +10:00
2022-05-03 22:28:14 +10:00
2021-10-19 22:47:18 +11:00
2022-05-03 22:28:14 +10:00
2018-06-06 14:33:42 +10:00
2020-08-12 23:40:50 +10:00
2022-05-03 22:28:14 +10:00
2020-03-11 14:24:26 +11:00
2020-02-28 10:33:03 +11:00
2017-07-18 11:57:39 +10:00