mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 21:13:41 +03:00
Replaced tabs with spaces
This commit is contained in:
parent
51f31f3f5b
commit
ae43af61da
|
@ -246,7 +246,7 @@ static struct PyGetSetDef getsetters[] = {
|
||||||
static PyTypeObject ImagingDisplayType = {
|
static PyTypeObject ImagingDisplayType = {
|
||||||
PyVarObject_HEAD_INIT(NULL, 0)
|
PyVarObject_HEAD_INIT(NULL, 0)
|
||||||
"ImagingDisplay", /*tp_name*/
|
"ImagingDisplay", /*tp_name*/
|
||||||
sizeof(ImagingDisplayObject), /*tp_size*/
|
sizeof(ImagingDisplayObject),/*tp_size*/
|
||||||
0, /*tp_itemsize*/
|
0, /*tp_itemsize*/
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)_delete, /*tp_dealloc*/
|
(destructor)_delete, /*tp_dealloc*/
|
||||||
|
|
|
@ -823,6 +823,7 @@ static int decode_bcn(Imaging im, ImagingCodecState state, const UINT8* src, int
|
||||||
if (state->y >= ymax) return -1; \
|
if (state->y >= ymax) return -1; \
|
||||||
} \
|
} \
|
||||||
break
|
break
|
||||||
|
|
||||||
DECODE_LOOP(1, 8, rgba);
|
DECODE_LOOP(1, 8, rgba);
|
||||||
DECODE_LOOP(2, 16, rgba);
|
DECODE_LOOP(2, 16, rgba);
|
||||||
DECODE_LOOP(3, 16, rgba);
|
DECODE_LOOP(3, 16, rgba);
|
||||||
|
|
|
@ -91,7 +91,7 @@ ImagingGetProjection(Imaging im, UINT8* xproj, UINT8* yproj)
|
||||||
memset(xproj, 0, im->xsize);
|
memset(xproj, 0, im->xsize);
|
||||||
memset(yproj, 0, im->ysize);
|
memset(yproj, 0, im->ysize);
|
||||||
|
|
||||||
#define GETPROJ(image, mask)\
|
#define GETPROJ(image, mask)\
|
||||||
for (y = 0; y < im->ysize; y++) {\
|
for (y = 0; y < im->ysize; y++) {\
|
||||||
has_data = 0;\
|
has_data = 0;\
|
||||||
for (x = 0; x < im->xsize; x++)\
|
for (x = 0; x < im->xsize; x++)\
|
||||||
|
|
|
@ -163,7 +163,7 @@ static PyTypeObject OutlineType = {
|
||||||
sizeof(OutlineObject), /*tp_size*/
|
sizeof(OutlineObject), /*tp_size*/
|
||||||
0, /*tp_itemsize*/
|
0, /*tp_itemsize*/
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)_outline_dealloc, /*tp_dealloc*/
|
(destructor)_outline_dealloc,/*tp_dealloc*/
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
0, /*tp_getattr*/
|
0, /*tp_getattr*/
|
||||||
0, /*tp_setattr*/
|
0, /*tp_setattr*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user