From bb33cc66fb51cc4bc4fbcf78279b89061494d7fe Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 20 Jan 2014 00:59:25 +0200 Subject: Properly print MP_OBJ_QSTR objects. --- py/obj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/obj.h') diff --git a/py/obj.h b/py/obj.h index 11ec4afe84..faf0231474 100644 --- a/py/obj.h +++ b/py/obj.h @@ -280,6 +280,7 @@ void mp_obj_exception_get_traceback(mp_obj_t self_in, machine_uint_t *n, machine // str extern const mp_obj_type_t str_type; qstr mp_obj_str_get(mp_obj_t self_in); +void mp_obj_str_print_qstr(void (*print)(void *env, const char *fmt, ...), void *env, qstr q, mp_print_kind_t kind); #if MICROPY_ENABLE_FLOAT // float -- cgit v1.2.3