summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-20 00:59:25 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-20 01:00:28 +0200
commitbb33cc66fb51cc4bc4fbcf78279b89061494d7fe (patch)
treea6f51ea396a81180277bccd07800bb8cc0902f96 /py/obj.h
parent2c7a1b2ad193e25749dd5821a8af95173ae290cb (diff)
downloadmicropython-bb33cc66fb51cc4bc4fbcf78279b89061494d7fe.tar.gz
micropython-bb33cc66fb51cc4bc4fbcf78279b89061494d7fe.zip
Properly print MP_OBJ_QSTR objects.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
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