Jeff Epler 2997113e73 obj.h: Make mp_obj_is_type work between full & non-full types
By comparing the address of the initial 'name' field instead of the
addresses of the objects themselves, a small amount of type safety is
added back, vs just casting to void.

In the event that some other kind of object is passed in as 't',
which happens to have a 'name' field of the right type, the construct
would be (undesirably) accepted but it would almost certainly evaluate
to false at runtime.
2021-07-07 08:31:54 -05:00
..
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-05-11 15:07:40 -07:00
2021-06-18 10:54:19 -05:00
2021-06-25 15:00:10 -07:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-03-15 19:27:36 +05:30
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2020-07-06 19:16:25 +01:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-04-19 22:22:44 -07:00
2020-07-06 19:16:25 +01:00
2021-06-18 10:54:19 -05:00
2021-06-02 12:10:41 +09:00
2021-05-08 20:17:16 -05:00
2021-05-08 20:17:16 -05:00
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2020-07-06 19:16:25 +01:00
2021-06-18 10:54:19 -05:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
WIP
2021-07-06 09:25:56 -05:00
2021-06-18 10:54:19 -05:00
2020-07-06 19:16:25 +01:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2020-07-06 19:16:25 +01:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2020-07-06 19:16:25 +01:00
2021-06-18 10:54:19 -05:00
2020-07-06 19:16:25 +01:00
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2021-05-05 11:00:35 -05:00
2020-07-06 19:16:25 +01:00