summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index 4709430fb..16434b315 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -133,6 +133,10 @@ typedef enum {
#endif
,
+ // The runtime will convert MP_BINARY_OP_IN to this operator with swapped args.
+ // A type should implement this containment operator instead of MP_BINARY_OP_IN.
+ MP_BINARY_OP_CONTAINS,
+
MP_BINARY_OP_NUM_RUNTIME,
// These 2 are not supported by the runtime and must be synthesised by the emitter
@@ -162,8 +166,8 @@ typedef enum {
MP_F_BUILD_MAP,
MP_F_STORE_MAP,
#if MICROPY_PY_BUILTINS_SET
- MP_F_BUILD_SET,
MP_F_STORE_SET,
+ MP_F_BUILD_SET,
#endif
MP_F_MAKE_FUNCTION_FROM_RAW_CODE,
MP_F_NATIVE_CALL_FUNCTION_N_KW,