2014-01-12 21:23:10 +00:00
|
|
|
typedef struct _mp_obj_tuple_t {
|
|
|
|
mp_obj_base_t base;
|
|
|
|
machine_uint_t len;
|
|
|
|
mp_obj_t items[];
|
|
|
|
} mp_obj_tuple_t;
|
|
|
|
|
2014-01-13 17:19:16 +00:00
|
|
|
void tuple_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind);
|
2014-02-27 20:49:47 +00:00
|
|
|
mp_obj_t tuple_unary_op(int op, mp_obj_t self_in);
|
|
|
|
mp_obj_t tuple_binary_op(int op, mp_obj_t lhs, mp_obj_t rhs);
|