Cleanup: remove redundant 'char *' casts
This commit is contained in:
@@ -3021,48 +3021,36 @@ static PyObject *Matrix_is_orthogonal_axis_vectors_get(MatrixObject *self, void
|
||||
/* Python attributes get/set structure: */
|
||||
/*****************************************************************************/
|
||||
static PyGetSetDef Matrix_getseters[] = {
|
||||
{(char *)"median_scale",
|
||||
(getter)Matrix_median_scale_get,
|
||||
(setter)NULL,
|
||||
Matrix_median_scale_doc,
|
||||
NULL},
|
||||
{(char *)"translation",
|
||||
{"median_scale", (getter)Matrix_median_scale_get, (setter)NULL, Matrix_median_scale_doc, NULL},
|
||||
{"translation",
|
||||
(getter)Matrix_translation_get,
|
||||
(setter)Matrix_translation_set,
|
||||
Matrix_translation_doc,
|
||||
NULL},
|
||||
{(char *)"row", (getter)Matrix_row_get, (setter)NULL, Matrix_row_doc, NULL},
|
||||
{(char *)"col", (getter)Matrix_col_get, (setter)NULL, Matrix_col_doc, NULL},
|
||||
{(char *)"is_negative",
|
||||
(getter)Matrix_is_negative_get,
|
||||
(setter)NULL,
|
||||
Matrix_is_negative_doc,
|
||||
NULL},
|
||||
{(char *)"is_orthogonal",
|
||||
{"row", (getter)Matrix_row_get, (setter)NULL, Matrix_row_doc, NULL},
|
||||
{"col", (getter)Matrix_col_get, (setter)NULL, Matrix_col_doc, NULL},
|
||||
{"is_negative", (getter)Matrix_is_negative_get, (setter)NULL, Matrix_is_negative_doc, NULL},
|
||||
{"is_orthogonal",
|
||||
(getter)Matrix_is_orthogonal_get,
|
||||
(setter)NULL,
|
||||
Matrix_is_orthogonal_doc,
|
||||
NULL},
|
||||
{(char *)"is_orthogonal_axis_vectors",
|
||||
{"is_orthogonal_axis_vectors",
|
||||
(getter)Matrix_is_orthogonal_axis_vectors_get,
|
||||
(setter)NULL,
|
||||
Matrix_is_orthogonal_axis_vectors_doc,
|
||||
NULL},
|
||||
{(char *)"is_wrapped",
|
||||
{"is_wrapped",
|
||||
(getter)BaseMathObject_is_wrapped_get,
|
||||
(setter)NULL,
|
||||
BaseMathObject_is_wrapped_doc,
|
||||
NULL},
|
||||
{(char *)"is_frozen",
|
||||
{"is_frozen",
|
||||
(getter)BaseMathObject_is_frozen_get,
|
||||
(setter)NULL,
|
||||
BaseMathObject_is_frozen_doc,
|
||||
NULL},
|
||||
{(char *)"owner",
|
||||
(getter)BaseMathObject_owner_get,
|
||||
(setter)NULL,
|
||||
BaseMathObject_owner_doc,
|
||||
NULL},
|
||||
{"owner", (getter)BaseMathObject_owner_get, (setter)NULL, BaseMathObject_owner_doc, NULL},
|
||||
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user