Cleanup: remove redundant 'char *' casts
This commit is contained in:
@@ -318,26 +318,18 @@ static int Interface1D_time_stamp_set(BPy_Interface1D *self,
|
||||
}
|
||||
|
||||
static PyGetSetDef BPy_Interface1D_getseters[] = {
|
||||
{(char *)"name",
|
||||
(getter)Interface1D_name_get,
|
||||
(setter)NULL,
|
||||
(char *)Interface1D_name_doc,
|
||||
NULL},
|
||||
{(char *)"id", (getter)Interface1D_id_get, (setter)NULL, (char *)Interface1D_id_doc, NULL},
|
||||
{(char *)"nature",
|
||||
(getter)Interface1D_nature_get,
|
||||
(setter)NULL,
|
||||
(char *)Interface1D_nature_doc,
|
||||
NULL},
|
||||
{(char *)"length_2d",
|
||||
{"name", (getter)Interface1D_name_get, (setter)NULL, Interface1D_name_doc, NULL},
|
||||
{"id", (getter)Interface1D_id_get, (setter)NULL, Interface1D_id_doc, NULL},
|
||||
{"nature", (getter)Interface1D_nature_get, (setter)NULL, Interface1D_nature_doc, NULL},
|
||||
{"length_2d",
|
||||
(getter)Interface1D_length_2d_get,
|
||||
(setter)NULL,
|
||||
(char *)Interface1D_length_2d_doc,
|
||||
Interface1D_length_2d_doc,
|
||||
NULL},
|
||||
{(char *)"time_stamp",
|
||||
{"time_stamp",
|
||||
(getter)Interface1D_time_stamp_get,
|
||||
(setter)Interface1D_time_stamp_set,
|
||||
(char *)Interface1D_time_stamp_doc,
|
||||
Interface1D_time_stamp_doc,
|
||||
NULL},
|
||||
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user