summaryrefslogtreecommitdiff
path: root/py/objstr.h
diff options
context:
space:
mode:
authorChris Osterwood <osterwood@gmail.com>2020-01-20 13:11:57 -0500
committerChris Osterwood <osterwood@gmail.com>2020-01-20 13:11:57 -0500
commit97420994e85f65a4f2ddb802d532acd56c1e5879 (patch)
tree11709251ee3b05ea46b7d262f3ba0ed28532e8cd /py/objstr.h
parent137a4f8a5d21f5e37277031887a3908e6c4e371e (diff)
parent85c731734a0388c28c8e3895ec1cecd1d9491e0c (diff)
Merge remote-tracking branch 'origin/master' into capablerobot-usbhub
Diffstat (limited to 'py/objstr.h')
-rw-r--r--py/objstr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objstr.h b/py/objstr.h
index 0efe62a80..61a11d0bd 100644
--- a/py/objstr.h
+++ b/py/objstr.h
@@ -77,6 +77,9 @@ const byte *str_index_to_ptr(const mp_obj_type_t *type, const byte *self_data, s
mp_obj_t index, bool is_slice);
const byte *find_subbytes(const byte *haystack, size_t hlen, const byte *needle, size_t nlen, int direction);
+const char nibble_to_hex_upper[16];
+const char nibble_to_hex_lower[16];
+
MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(str_encode_obj);
MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(str_find_obj);
MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(str_rfind_obj);