diff options
| author | Paul Sokolovsky | 2015-03-23 22:15:12 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2015-03-23 22:43:37 +0200 |
| commit | 870517123333bb23751332ea6e5a65f690423971 (patch) | |
| tree | 4da8dd39c133a74e427ba535ae293fedbe466dfc /py/objstr.h | |
| parent | 4a8556ca582d3df5add890cd16acc78480bd1158 (diff) | |
objstr: Expose mp_obj_str_split() for reuse in other modules.
Diffstat (limited to 'py/objstr.h')
| -rw-r--r-- | py/objstr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objstr.h b/py/objstr.h index bae352ad4..7cba6193d 100644 --- a/py/objstr.h +++ b/py/objstr.h @@ -57,6 +57,7 @@ typedef struct _mp_obj_str_t { 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); 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); mp_obj_t mp_obj_str_binary_op(mp_uint_t op, mp_obj_t lhs_in, mp_obj_t rhs_in); |
