aboutsummaryrefslogtreecommitdiff
path: root/py/objstr.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-02-14 18:55:16 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-02-14 18:57:11 +0200
commitc38809e26b71c539584462c2d02b6cd2647ade5b (patch)
tree4af5fc1e0093d3559dbc442d9fa3cc9bc40108e8 /py/objstr.h
parent609a9c6b715b80b3b84ef875408e7e3b642c8c9b (diff)
py/objarray: Implement "in" operator for bytearray.
Diffstat (limited to 'py/objstr.h')
-rw-r--r--py/objstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objstr.h b/py/objstr.h
index 6179a74af..6b8ad97ec 100644
--- a/py/objstr.h
+++ b/py/objstr.h
@@ -71,6 +71,7 @@ mp_int_t mp_obj_str_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo, mp_u
const byte *str_index_to_ptr(const mp_obj_type_t *type, const byte *self_data, size_t self_len,
mp_obj_t index, bool is_slice);
+const byte *find_subbytes(const byte *haystack, mp_uint_t hlen, const byte *needle, mp_uint_t nlen, mp_int_t direction);
MP_DECLARE_CONST_FUN_OBJ(str_encode_obj);
MP_DECLARE_CONST_FUN_OBJ(str_find_obj);