Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 365549 | Differences between
and this patch

Collapse All | Expand All

(-)sip-4.12.1.old/siplib/sip.h.in (+6 lines)
Lines 1553-1561 Link Here
1553
1553
1554
#define sipIsExactWrappedType(wt)   (sipTypeAsPyTypeObject((wt)->type) == (PyTypeObject *)(wt))
1554
#define sipIsExactWrappedType(wt)   (sipTypeAsPyTypeObject((wt)->type) == (PyTypeObject *)(wt))
1555
1555
1556
#if PY_VERSION_HEX >= 0x03020000
1557
#define sipConvertFromSliceObject(o,len,start,stop,step,slen) \
1558
        PySlice_GetIndicesEx((PyObject *)(o), (len), (start), (stop), \
1559
                (step), (slen))
1560
#else
1556
#define sipConvertFromSliceObject(o,len,start,stop,step,slen) \
1561
#define sipConvertFromSliceObject(o,len,start,stop,step,slen) \
1557
        PySlice_GetIndicesEx((PySliceObject *)(o), (len), (start), (stop), \
1562
        PySlice_GetIndicesEx((PySliceObject *)(o), (len), (start), (stop), \
1558
                (step), (slen))
1563
                (step), (slen))
1564
#endif
1559
1565
1560
1566
1561
/*
1567
/*

Return to bug 365549