Skip to content

Commit fe6756a

Browse files
committed
py: Remove long-obsolete mp_method_t typedef.
1 parent bae052d commit fe6756a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

py/obj.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,6 @@ typedef mp_obj_t (*mp_binary_op_fun_t)(mp_uint_t op, mp_obj_t, mp_obj_t);
415415
typedef void (*mp_attr_fun_t)(mp_obj_t self_in, qstr attr, mp_obj_t *dest);
416416
typedef mp_obj_t (*mp_subscr_fun_t)(mp_obj_t self_in, mp_obj_t index, mp_obj_t value);
417417

418-
typedef struct _mp_method_t {
419-
qstr name;
420-
mp_const_obj_t fun;
421-
} mp_method_t;
422-
423418
// Buffer protocol
424419
typedef struct _mp_buffer_info_t {
425420
// if we'd bother to support various versions of structure

0 commit comments

Comments
 (0)