mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Remove unused function
This commit is contained in:
parent
551e5205d5
commit
20b61b1050
13
_imaging.c
13
_imaging.c
|
@ -631,18 +631,6 @@ _new(PyObject* self, PyObject* args)
|
||||||
return PyImagingNew(ImagingNew(mode, xsize, ysize));
|
return PyImagingNew(ImagingNew(mode, xsize, ysize));
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject*
|
|
||||||
_new_array(PyObject* self, PyObject* args)
|
|
||||||
{
|
|
||||||
char* mode;
|
|
||||||
int xsize, ysize;
|
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "s(ii)", &mode, &xsize, &ysize))
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
return PyImagingNew(ImagingNewArray(mode, xsize, ysize));
|
|
||||||
}
|
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
_new_block(PyObject* self, PyObject* args)
|
_new_block(PyObject* self, PyObject* args)
|
||||||
{
|
{
|
||||||
|
@ -3027,7 +3015,6 @@ static struct PyMethodDef methods[] = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Misc. */
|
/* Misc. */
|
||||||
{"new_array", (PyCFunction)_new_array, 1},
|
|
||||||
{"new_block", (PyCFunction)_new_block, 1},
|
{"new_block", (PyCFunction)_new_block, 1},
|
||||||
|
|
||||||
{"save_ppm", (PyCFunction)_save_ppm, 1},
|
{"save_ppm", (PyCFunction)_save_ppm, 1},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user