summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-25 22:27:57 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-25 22:27:57 +0100
commit2617eebf2ff77e58f415162300747eaf1a5ab5d7 (patch)
tree7065586f59aa181b70b4721363ff7c7677f8e772 /py/obj.h
parentf88fc7bd23c7bab257a01857c6f4683ce491f78c (diff)
Change const byte* to const char* where sensible.
This removes need for some casts (at least, more than it adds need for new casts!).
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index b1d9be209..e4350b424 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -373,7 +373,7 @@ mp_obj_t mp_obj_new_int(machine_int_t value);
mp_obj_t mp_obj_new_int_from_uint(machine_uint_t value);
mp_obj_t mp_obj_new_int_from_qstr(qstr qst);
mp_obj_t mp_obj_new_int_from_ll(long long val); // this must return a multi-precision integer object (or raise an overflow exception)
-mp_obj_t mp_obj_new_str(const byte* data, uint len, bool make_qstr_if_not_already);
+mp_obj_t mp_obj_new_str(const char* data, uint len, bool make_qstr_if_not_already);
mp_obj_t mp_obj_new_bytes(const byte* data, uint len);
#if MICROPY_ENABLE_FLOAT
mp_obj_t mp_obj_new_float(mp_float_t val);