diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-03-17 15:33:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-17 15:33:08 -0700 |
| commit | 4603c6ddd7aaccc5674db135fe3951e475ea05d8 (patch) | |
| tree | 238adb6865105638b47fa6a21b4be5d8afbf74df /py/obj.h | |
| parent | 9453e10c57deee12f895466d872e3e9198c73f7d (diff) | |
| parent | 38a718ff5558c2286172091615aaeb2ded5f70f5 (diff) | |
Merge pull request #2711 from jepler/update-ulab5.1.0-rc.05.1.0
update ulab
Diffstat (limited to 'py/obj.h')
| -rw-r--r-- | py/obj.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |
