summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2020-03-26 18:16:11 -0400
committerLucian Copeland <hierophect@gmail.com>2020-03-26 18:16:11 -0400
commit348df4be2ba1bfc00a7bfab4f0de35beea78a407 (patch)
treee2c588b3abe40afc7b971f0ca7059a01bd2dac9c /py/obj.h
parentc4db8b87e2c57ca94b8f76e4b07ca02641df714e (diff)
parentaec3b2419b2c52f6f42249207cfe2b6de5d58f61 (diff)
Merge remote-tracking branch 'upstream/master' into stm32x7-setup
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index cf4216d02..fa315d12f 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -858,6 +858,7 @@ typedef struct {
mp_uint_t stop;
mp_int_t step;
} mp_bound_slice_t;
+void mp_obj_slice_indices(mp_obj_t self_in, mp_int_t length, mp_bound_slice_t *result);
// Compute the new length of a sequence and ensure an exception is thrown on overflow.
size_t mp_seq_multiply_len(size_t item_sz, size_t len);