Paul Sokolovsky | 8bc3516 | 2014-02-14 17:16:35 +0200 | [diff] [blame] | 1 | // Use special typecode to differentiate repr() of bytearray vs array.array('B') |
2 | // (underlyingly they're same). | ||||
3 | #define BYTEARRAY_TYPECODE 0 | ||||
4 | |||||
5 | int mp_binary_get_size(char typecode); | ||||
6 | mp_obj_t mp_binary_get_val(char typecode, void *p, int index); | ||||
7 | void mp_binary_set_val(char typecode, void *p, int index, mp_obj_t val_in); |