mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
8eec8bcad9
This is useful because tuple is closest analog of C static array.
8 lines
214 B
C
8 lines
214 B
C
typedef struct _mp_obj_tuple_t {
|
|
mp_obj_base_t base;
|
|
machine_uint_t len;
|
|
mp_obj_t items[];
|
|
} mp_obj_tuple_t;
|
|
|
|
void tuple_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in);
|