Cleanup: remove redundant 'char *' casts

This commit is contained in:
2019-12-20 10:42:57 +11:00
parent 6ccef2aa7e
commit 9a9f39e466
73 changed files with 692 additions and 1002 deletions

View File

@@ -657,25 +657,25 @@ static int StrokeAttribute_visible_set(BPy_StrokeAttribute *self,
}
static PyGetSetDef BPy_StrokeAttribute_getseters[] = {
{(char *)"alpha",
{"alpha",
(getter)StrokeAttribute_alpha_get,
(setter)StrokeAttribute_alpha_set,
(char *)StrokeAttribute_alpha_doc,
StrokeAttribute_alpha_doc,
NULL},
{(char *)"color",
{"color",
(getter)StrokeAttribute_color_get,
(setter)StrokeAttribute_color_set,
(char *)StrokeAttribute_color_doc,
StrokeAttribute_color_doc,
NULL},
{(char *)"thickness",
{"thickness",
(getter)StrokeAttribute_thickness_get,
(setter)StrokeAttribute_thickness_set,
(char *)StrokeAttribute_thickness_doc,
StrokeAttribute_thickness_doc,
NULL},
{(char *)"visible",
{"visible",
(getter)StrokeAttribute_visible_get,
(setter)StrokeAttribute_visible_set,
(char *)StrokeAttribute_visible_doc,
StrokeAttribute_visible_doc,
NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};