Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3108f57

Browse files
committed
Remove deprecated PyBufferRegion methods from _backend_agg_wrapper.cpp
Removed `to_string` and `to_string_argb` methods from `PyBufferRegion_init_type` Signed-off-by: Issam Arabi <[email protected]>
1 parent 9a07a12 commit 3108f57

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/_backend_agg_wrapper.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ int PyBufferRegion_get_buffer(PyBufferRegion *self, Py_buffer *buf, int flags)
102102
static PyTypeObject *PyBufferRegion_init_type()
103103
{
104104
static PyMethodDef methods[] = {
105-
{ "to_string", (PyCFunction)PyBufferRegion_to_string, METH_NOARGS, NULL },
106-
{ "to_string_argb", (PyCFunction)PyBufferRegion_to_string_argb, METH_NOARGS, NULL },
107105
{ "set_x", (PyCFunction)PyBufferRegion_set_x, METH_VARARGS, NULL },
108106
{ "set_y", (PyCFunction)PyBufferRegion_set_y, METH_VARARGS, NULL },
109107
{ "get_extents", (PyCFunction)PyBufferRegion_get_extents, METH_NOARGS, NULL },

0 commit comments

Comments
 (0)