diff options
Diffstat (limited to 'py/objstr.h')
-rw-r--r-- | py/objstr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.h b/py/objstr.h index c0ef701a83..5be137d36d 100644 --- a/py/objstr.h +++ b/py/objstr.h @@ -36,4 +36,4 @@ typedef struct _mp_obj_str_t { #define MP_DEFINE_STR_OBJ(obj_name, str) mp_obj_str_t obj_name = {{&mp_type_str}, 0, sizeof(str) - 1, (const byte*)str}; mp_obj_t mp_obj_str_format(uint n_args, const mp_obj_t *args); -mp_obj_t str_new(const mp_obj_type_t *type, const byte* data, uint len); +mp_obj_t mp_obj_new_str_of_type(const mp_obj_type_t *type, const byte* data, uint len); |