summaryrefslogtreecommitdiff
path: root/py/objstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/objstr.h')
-rw-r--r--py/objstr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/objstr.h b/py/objstr.h
index 7d86ec30b..b1217d587 100644
--- a/py/objstr.h
+++ b/py/objstr.h
@@ -127,8 +127,15 @@ MP_DECLARE_CONST_FUN_OBJ_1(str_isupper_obj);
MP_DECLARE_CONST_FUN_OBJ_1(str_islower_obj);
MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(bytes_decode_obj);
+mp_obj_t mp_obj_bytes_hex(size_t n_args, const mp_obj_t *args, const mp_obj_type_t *type);
+mp_obj_t mp_obj_bytes_fromhex(mp_obj_t type_in, mp_obj_t data);
+
extern const mp_obj_dict_t mp_obj_str_locals_dict;
+#if MICROPY_PY_BUILTINS_MEMORYVIEW && MICROPY_PY_BUILTINS_BYTES_HEX
+extern const mp_obj_dict_t mp_obj_memoryview_locals_dict;
+#endif
+
#if MICROPY_PY_BUILTINS_BYTEARRAY
extern const mp_obj_dict_t mp_obj_bytearray_locals_dict;
#endif