def slice_as_ints(self, obj):
    '\n        Read the members of a slice of integers.\n\n        Returns a (ok, start, stop, step) tuple where ok is a boolean and\n        the following members are pointer-sized ints.\n        '
    pstart = cgutils.alloca_once(self.builder, self.py_ssize_t)
    pstop = cgutils.alloca_once(self.builder, self.py_ssize_t)
    pstep = cgutils.alloca_once(self.builder, self.py_ssize_t)
    fnty = Type.function(Type.int(), ([self.pyobj] + ([self.py_ssize_t.as_pointer()] * 3)))
    fn = self._get_function(fnty, name='numba_unpack_slice')
    res = self.builder.call(fn, (obj, pstart, pstop, pstep))
    start = self.builder.load(pstart)
    stop = self.builder.load(pstop)
    step = self.builder.load(pstep)
    return (cgutils.is_null(self.builder, res), start, stop, step)
Read the members of a slice of integers.

Returns a (ok, start, stop, step) tuple where ok is a boolean and
the following members are pointer-sized ints.
def slice_as_ints(self, obj):
    '\n        Read the members of a slice of integers.\n\n        Returns a (ok, start, stop, step) tuple where ok is a boolean and\n        the following members are pointer-sized ints.\n        '
    pstart = cgutils.alloca_once(self.builder, self.py_ssize_t)
    pstop = cgutils.alloca_once(self.builder, self.py_ssize_t)
    pstep = cgutils.alloca_once(self.builder, self.py_ssize_t)
    fnty = Type.function(Type.int(), ([self.pyobj] + ([self.py_ssize_t.as_pointer()] * 3)))
    fn = self._get_function(fnty, name='numba_unpack_slice')
    res = self.builder.call(fn, (obj, pstart, pstop, pstep))
    start = self.builder.load(pstart)
    stop = self.builder.load(pstop)
    step = self.builder.load(pstep)
    return (cgutils.is_null(self.builder, res), start, stop, step)