summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-09-07 12:54:58 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-09-07 12:54:58 +0300
commit6d4cac088eb29c7909f81121608546ca1b5e292e (patch)
treec3940741237aeb6b647cae8b483fa69d329bb196 /py/runtime0.h
parent50b9329eba29a36b6948699aaea9473681d4f46b (diff)
py/objtype: Make sure mp_binary_op_method_name has full size again.
After recent refactorings to mp_binary_op_t, and make it future refactoring proof for now, at the cost of extra element in the array.
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 fd497a6d1..723ab582d 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -103,6 +103,8 @@ typedef enum {
// just identify special methods.
MP_BINARY_OP_DIVMOD, // not emitted by the compiler but supported by the runtime
+
+ MP_BINARY_OP_LAST,
} mp_binary_op_t;
typedef enum {