[Python-checkins] CVS: python/dist/src/Modules imageop.c,2.22,2.23
Peter Schneider-Kamp
python-dev@python.org
2000年7月10日 02:55:34 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv6307
Modified Files:
imageop.c
Log Message:
ANSI-fication
Index: imageop.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/imageop.c,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -r2.22 -r2.23
*** imageop.c 2000年06月30日 23:58:05 2.22
--- imageop.c 2000年07月10日 09:55:32 2.23
***************
*** 36,42 ****
static PyObject *
! imageop_crop(self, args)
! PyObject *self;
! PyObject *args;
{
char *cp, *ncp;
--- 36,40 ----
static PyObject *
! imageop_crop(PyObject *self, PyObject *args)
{
char *cp, *ncp;
***************
*** 92,98 ****
static PyObject *
! imageop_scale(self, args)
! PyObject *self;
! PyObject *args;
{
char *cp, *ncp;
--- 90,94 ----
static PyObject *
! imageop_scale(PyObject *self, PyObject *args)
{
char *cp, *ncp;
***************
*** 141,147 ****
static PyObject *
! imageop_tovideo(self, args)
! PyObject *self;
! PyObject *args;
{
int maxx, maxy, x, y, len;
--- 137,141 ----
static PyObject *
! imageop_tovideo(PyObject *self, PyObject *args)
{
int maxx, maxy, x, y, len;
***************
*** 197,203 ****
static PyObject *
! imageop_grey2mono(self, args)
! PyObject *self;
! PyObject *args;
{
int tres, x, y, len;
--- 191,195 ----
static PyObject *
! imageop_grey2mono(PyObject *self, PyObject *args)
{
int tres, x, y, len;
***************
*** 239,245 ****
static PyObject *
! imageop_grey2grey4(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len;
--- 231,235 ----
static PyObject *
! imageop_grey2grey4(PyObject *self, PyObject *args)
{
int x, y, len;
***************
*** 280,286 ****
static PyObject *
! imageop_grey2grey2(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len;
--- 270,274 ----
static PyObject *
! imageop_grey2grey2(PyObject *self, PyObject *args)
{
int x, y, len;
***************
*** 321,327 ****
static PyObject *
! imageop_dither2mono(self, args)
! PyObject *self;
! PyObject *args;
{
int sum, x, y, len;
--- 309,313 ----
static PyObject *
! imageop_dither2mono(PyObject *self, PyObject *args)
{
int sum, x, y, len;
***************
*** 367,373 ****
static PyObject *
! imageop_dither2grey2(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len;
--- 353,357 ----
static PyObject *
! imageop_dither2grey2(PyObject *self, PyObject *args)
{
int x, y, len;
***************
*** 412,418 ****
static PyObject *
! imageop_mono2grey(self, args)
! PyObject *self;
! PyObject *args;
{
int v0, v1, x, y, len, nlen;
--- 396,400 ----
static PyObject *
! imageop_mono2grey(PyObject *self, PyObject *args)
{
int v0, v1, x, y, len, nlen;
***************
*** 451,457 ****
static PyObject *
! imageop_grey22grey(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len, nlen;
--- 433,437 ----
static PyObject *
! imageop_grey22grey(PyObject *self, PyObject *args)
{
int x, y, len, nlen;
***************
*** 489,495 ****
static PyObject *
! imageop_grey42grey(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len, nlen;
--- 469,473 ----
static PyObject *
! imageop_grey42grey(PyObject *self, PyObject *args)
{
int x, y, len, nlen;
***************
*** 526,532 ****
static PyObject *
! imageop_rgb2rgb8(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len, nlen;
--- 504,508 ----
static PyObject *
! imageop_rgb2rgb8(PyObject *self, PyObject *args)
{
int x, y, len, nlen;
***************
*** 570,576 ****
static PyObject *
! imageop_rgb82rgb(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len, nlen;
--- 546,550 ----
static PyObject *
! imageop_rgb82rgb(PyObject *self, PyObject *args)
{
int x, y, len, nlen;
***************
*** 613,619 ****
static PyObject *
! imageop_rgb2grey(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len, nlen;
--- 587,591 ----
static PyObject *
! imageop_rgb2grey(PyObject *self, PyObject *args)
{
int x, y, len, nlen;
***************
*** 651,657 ****
static PyObject *
! imageop_grey2rgb(self, args)
! PyObject *self;
! PyObject *args;
{
int x, y, len, nlen;
--- 623,627 ----
static PyObject *
! imageop_grey2rgb(PyObject *self, PyObject *args)
{
int x, y, len, nlen;
***************
*** 685,691 ****
/*
static object *
! imageop_mul(self, args)
! object *self;
! object *args;
{
char *cp, *ncp;
--- 655,659 ----
/*
static object *
! imageop_mul(object *self, object *args)
{
char *cp, *ncp;