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 291f49a096..9c00c914b3 100644 --- a/py/objstr.h +++ b/py/objstr.h @@ -55,7 +55,7 @@ typedef struct _mp_obj_str_t { else { str_len = ((mp_obj_str_t*)str_obj_in)->len; str_data = ((mp_obj_str_t*)str_obj_in)->data; } mp_obj_t mp_obj_str_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args); -void mp_str_print_json(void (*print)(void *env, const char *fmt, ...), void *env, const byte *str_data, mp_uint_t str_len); +void mp_str_print_json(const mp_print_t *print, const byte *str_data, mp_uint_t str_len); mp_obj_t mp_obj_str_format(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs); mp_obj_t mp_obj_str_split(mp_uint_t n_args, const mp_obj_t *args); mp_obj_t mp_obj_new_str_of_type(const mp_obj_type_t *type, const byte* data, mp_uint_t len); |