summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index e6eeff97d..c82a4717f 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -76,6 +76,8 @@ typedef enum {
MP_UNARY_OP_HASH, // __hash__; must return a small int
MP_UNARY_OP_ABS, // __abs__
MP_UNARY_OP_INT, // __int__
+ MP_UNARY_OP_FLOAT_MAYBE, // __float__
+ MP_UNARY_OP_COMPLEX_MAYBE, // __complex__
MP_UNARY_OP_SIZEOF, // for sys.getsizeof()
} mp_unary_op_t;