Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-04 14:10:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-04 14:14:12 +0300
commitb2e3f23bec156dfceab98032d35b761288976368 (patch)
tree8e166b29a6284ffce3c9301968ede3973879ddfe /source/blender/python/generic
parentacf26dee5f086fcc547bd3f5c262d6cf977cd835 (diff)
Cleanup: remove redundant cast
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/imbuf_py_api.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/source/blender/python/generic/imbuf_py_api.c b/source/blender/python/generic/imbuf_py_api.c
index 26e4e5bcf32..e3c8b56c20a 100644
--- a/source/blender/python/generic/imbuf_py_api.c
+++ b/source/blender/python/generic/imbuf_py_api.c
@@ -138,14 +138,11 @@ static PyObject *py_imbuf_free(Py_ImBuf *self)
}
static struct PyMethodDef Py_ImBuf_methods[] = {
- {"resize",
- (PyCFunction)py_imbuf_resize,
- METH_VARARGS | METH_KEYWORDS,
- (char *)py_imbuf_resize_doc},
- {"free", (PyCFunction)py_imbuf_free, METH_NOARGS, (char *)py_imbuf_free_doc},
- {"copy", (PyCFunction)py_imbuf_copy, METH_NOARGS, (char *)py_imbuf_copy_doc},
- {"__copy__", (PyCFunction)py_imbuf_copy, METH_NOARGS, (char *)py_imbuf_copy_doc},
- {"__deepcopy__", (PyCFunction)py_imbuf_deepcopy, METH_VARARGS, (char *)py_imbuf_copy_doc},
+ {"resize", (PyCFunction)py_imbuf_resize, METH_VARARGS | METH_KEYWORDS, py_imbuf_resize_doc},
+ {"free", (PyCFunction)py_imbuf_free, METH_NOARGS, py_imbuf_free_doc},
+ {"copy", (PyCFunction)py_imbuf_copy, METH_NOARGS, py_imbuf_copy_doc},
+ {"__copy__", (PyCFunction)py_imbuf_copy, METH_NOARGS, py_imbuf_copy_doc},
+ {"__deepcopy__", (PyCFunction)py_imbuf_deepcopy, METH_VARARGS, py_imbuf_copy_doc},
{NULL, NULL, 0, NULL},
};