Cleanup: remove redundant 'char *' casts
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user