@@ -35,9 +35,7 @@ typedef unsigned long Py_UInt32;
3535static PyObject * ImageopError ;
3636
3737static PyObject *
38- imageop_crop (self , args )
39- PyObject * self ;
40- PyObject * args ;
38+ imageop_crop (PyObject * self , PyObject * args )
4139{
4240 char * cp , * ncp ;
4341 short * nsp ;
@@ -91,9 +89,7 @@ PyObject *args;
9189}
9290
9391static PyObject *
94- imageop_scale (self , args )
95- PyObject * self ;
96- PyObject * args ;
92+ imageop_scale (PyObject * self , PyObject * args )
9793{
9894 char * cp , * ncp ;
9995 short * nsp ;
@@ -140,9 +136,7 @@ PyObject *args;
140136/* Note: this routine can use a bit of optimizing */
141137
142138static PyObject *
143- imageop_tovideo (self , args )
144- PyObject * self ;
145- PyObject * args ;
139+ imageop_tovideo (PyObject * self , PyObject * args )
146140{
147141 int maxx , maxy , x , y , len ;
148142 int i ;
@@ -196,9 +190,7 @@ PyObject *args;
196190}
197191
198192static PyObject *
199- imageop_grey2mono (self , args )
200- PyObject * self ;
201- PyObject * args ;
193+ imageop_grey2mono (PyObject * self , PyObject * args )
202194{
203195 int tres , x , y , len ;
204196 unsigned char * cp , * ncp ;
@@ -238,9 +230,7 @@ PyObject *args;
238230}
239231
240232static PyObject *
241- imageop_grey2grey4 (self , args )
242- PyObject * self ;
243- PyObject * args ;
233+ imageop_grey2grey4 (PyObject * self , PyObject * args )
244234{
245235 int x , y , len ;
246236 unsigned char * cp , * ncp ;
@@ -279,9 +269,7 @@ PyObject *args;
279269}
280270
281271static PyObject *
282- imageop_grey2grey2 (self , args )
283- PyObject * self ;
284- PyObject * args ;
272+ imageop_grey2grey2 (PyObject * self , PyObject * args )
285273{
286274 int x , y , len ;
287275 unsigned char * cp , * ncp ;
@@ -320,9 +308,7 @@ PyObject *args;
320308}
321309
322310static PyObject *
323- imageop_dither2mono (self , args )
324- PyObject * self ;
325- PyObject * args ;
311+ imageop_dither2mono (PyObject * self , PyObject * args )
326312{
327313 int sum , x , y , len ;
328314 unsigned char * cp , * ncp ;
@@ -366,9 +352,7 @@ PyObject *args;
366352}
367353
368354static PyObject *
369- imageop_dither2grey2 (self , args )
370- PyObject * self ;
371- PyObject * args ;
355+ imageop_dither2grey2 (PyObject * self , PyObject * args )
372356{
373357 int x , y , len ;
374358 unsigned char * cp , * ncp ;
@@ -411,9 +395,7 @@ PyObject *args;
411395}
412396
413397static PyObject *
414- imageop_mono2grey (self , args )
415- PyObject * self ;
416- PyObject * args ;
398+ imageop_mono2grey (PyObject * self , PyObject * args )
417399{
418400 int v0 , v1 , x , y , len , nlen ;
419401 unsigned char * cp , * ncp ;
@@ -450,9 +432,7 @@ PyObject *args;
450432}
451433
452434static PyObject *
453- imageop_grey22grey (self , args )
454- PyObject * self ;
455- PyObject * args ;
435+ imageop_grey22grey (PyObject * self , PyObject * args )
456436{
457437 int x , y , len , nlen ;
458438 unsigned char * cp , * ncp ;
@@ -488,9 +468,7 @@ PyObject *args;
488468}
489469
490470static PyObject *
491- imageop_grey42grey (self , args )
492- PyObject * self ;
493- PyObject * args ;
471+ imageop_grey42grey (PyObject * self , PyObject * args )
494472{
495473 int x , y , len , nlen ;
496474 unsigned char * cp , * ncp ;
@@ -525,9 +503,7 @@ PyObject *args;
525503}
526504
527505static PyObject *
528- imageop_rgb2rgb8 (self , args )
529- PyObject * self ;
530- PyObject * args ;
506+ imageop_rgb2rgb8 (PyObject * self , PyObject * args )
531507{
532508 int x , y , len , nlen ;
533509 Py_UInt32 * cp ;
@@ -569,9 +545,7 @@ PyObject *args;
569545}
570546
571547static PyObject *
572- imageop_rgb82rgb (self , args )
573- PyObject * self ;
574- PyObject * args ;
548+ imageop_rgb82rgb (PyObject * self , PyObject * args )
575549{
576550 int x , y , len , nlen ;
577551 unsigned char * cp ;
@@ -612,9 +586,7 @@ PyObject *args;
612586}
613587
614588static PyObject *
615- imageop_rgb2grey (self , args )
616- PyObject * self ;
617- PyObject * args ;
589+ imageop_rgb2grey (PyObject * self , PyObject * args )
618590{
619591 int x , y , len , nlen ;
620592 Py_UInt32 * cp ;
@@ -650,9 +622,7 @@ PyObject *args;
650622}
651623
652624static PyObject *
653- imageop_grey2rgb (self , args )
654- PyObject * self ;
655- PyObject * args ;
625+ imageop_grey2rgb (PyObject * self , PyObject * args )
656626{
657627 int x , y , len , nlen ;
658628 unsigned char * cp ;
@@ -684,9 +654,7 @@ PyObject *args;
684654
685655/*
686656static object *
687- imageop_mul(self, args)
688- object *self;
689- object *args;
657+ imageop_mul(object *self, object *args)
690658{
691659 char *cp, *ncp;
692660 int len, size, x, y;
0 commit comments