summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial/index.rst
diff options
context:
space:
mode:
authorVonasmic <kasarkal123@gmail.com>2024-04-03 10:35:58 +0200
committerDamien George <damien@micropython.org>2024-04-22 11:10:23 +1000
commitce491ab0d168a8278062e1fc7ebed3ca47ab89d2 (patch)
tree4f9e39cafbbbcaddd6b2d8f09f98f82d6ed48592 /docs/esp32/tutorial/index.rst
parent40f7e9ce20e845ce2372347e5b5fd4dbff69ef6e (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/index.rst')
0 files changed, 0 insertions, 0 deletions