fix definition of MathOperation
This commit is contained in:
parent
78a7c6b164
commit
5d9b84dcb2
@ -126,10 +126,8 @@ STATIC mp_obj_t mathop_call(mp_obj_t fun, size_t n_args, size_t n_kw, const mp_o
|
|||||||
STATIC MP_DEFINE_CONST_DICT(synthio_math_operation_locals_dict, synthio_math_operation_locals_table);
|
STATIC MP_DEFINE_CONST_DICT(synthio_math_operation_locals_dict, synthio_math_operation_locals_table);
|
||||||
MAKE_PRINTER(synthio, synthio_math_operation);
|
MAKE_PRINTER(synthio, synthio_math_operation);
|
||||||
MAKE_ENUM_TYPE(synthio, MathOperation, synthio_math_operation,
|
MAKE_ENUM_TYPE(synthio, MathOperation, synthio_math_operation,
|
||||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
call, mathop_call
|
||||||
MP_TYPE_EXTENDED_FIELDS(
|
);
|
||||||
.call = mathop_call,
|
|
||||||
));
|
|
||||||
|
|
||||||
//| class Math:
|
//| class Math:
|
||||||
//| """An arithmetic block
|
//| """An arithmetic block
|
||||||
|
Loading…
x
Reference in New Issue
Block a user