diff options
author | Vonasmic <kasarkal123@gmail.com> | 2024-04-03 10:35:58 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-04-22 11:10:23 +1000 |
commit | ce491ab0d168a8278062e1fc7ebed3ca47ab89d2 (patch) | |
tree | 4f9e39cafbbbcaddd6b2d8f09f98f82d6ed48592 /docs/esp32/tutorial | |
parent | 40f7e9ce20e845ce2372347e5b5fd4dbff69ef6e (diff) |
py/obj: Fix initialiser order in MP_DEFINE_CONST_OBJ_TYPE_NARGS_ macros.
This commit swaps the order of the `flags` and `name` struct initialisers
for `mp_obj_type_t`, to fix an incompatibility with C++. The original
order of the initialiser didn't match the definition of the type, and
although that's still legal C, it's not legal C++.
Signed-off-by: Vonasmic <kasarkal123@gmail.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions