Cleanup: trailing commas
Needed for clan-format not to wrap onto one line.
This commit is contained in:
@@ -580,7 +580,7 @@ void BaseMathObject_dealloc(BaseMathObject *self)
|
||||
|
||||
/*----------------------------MODULE INIT-------------------------*/
|
||||
static struct PyMethodDef M_Mathutils_methods[] = {
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
static struct PyModuleDef M_Mathutils_module_def = {
|
||||
|
||||
@@ -824,7 +824,7 @@ static struct PyMethodDef Color_methods[] = {
|
||||
|
||||
/* base-math methods */
|
||||
{"freeze", (PyCFunction)BaseMathObject_freeze, METH_NOARGS, BaseMathObject_freeze_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
/* ------------------PY_OBECT DEFINITION-------------------------- */
|
||||
|
||||
@@ -676,7 +676,7 @@ static struct PyMethodDef Euler_methods[] = {
|
||||
|
||||
/* base-math methods */
|
||||
{"freeze", (PyCFunction)BaseMathObject_freeze, METH_NOARGS, BaseMathObject_freeze_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
/* ------------------PY_OBECT DEFINITION-------------------------- */
|
||||
|
||||
@@ -2906,7 +2906,7 @@ static struct PyMethodDef Matrix_methods[] = {
|
||||
{"Shear", (PyCFunction) C_Matrix_Shear, METH_VARARGS | METH_CLASS, C_Matrix_Shear_doc},
|
||||
{"Translation", (PyCFunction) C_Matrix_Translation, METH_O | METH_CLASS, C_Matrix_Translation_doc},
|
||||
{"OrthoProjection", (PyCFunction) C_Matrix_OrthoProjection, METH_VARARGS | METH_CLASS, C_Matrix_OrthoProjection_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
/*------------------PY_OBECT DEFINITION--------------------------*/
|
||||
|
||||
@@ -1331,7 +1331,7 @@ static struct PyMethodDef Quaternion_methods[] = {
|
||||
{"copy", (PyCFunction) Quaternion_copy, METH_NOARGS, Quaternion_copy_doc},
|
||||
{"__copy__", (PyCFunction) Quaternion_copy, METH_NOARGS, Quaternion_copy_doc},
|
||||
{"__deepcopy__", (PyCFunction) Quaternion_deepcopy, METH_VARARGS, Quaternion_copy_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
@@ -2955,7 +2955,7 @@ static struct PyMethodDef Vector_methods[] = {
|
||||
{"copy", (PyCFunction) Vector_copy, METH_NOARGS, Vector_copy_doc},
|
||||
{"__copy__", (PyCFunction) Vector_copy, METH_NOARGS, NULL},
|
||||
{"__deepcopy__", (PyCFunction) Vector_deepcopy, METH_VARARGS, NULL},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1243,7 +1243,7 @@ static PyMethodDef py_bvhtree_methods[] = {
|
||||
{"FromBMesh", (PyCFunction) C_BVHTree_FromBMesh, METH_VARARGS | METH_KEYWORDS | METH_CLASS, C_BVHTree_FromBMesh_doc},
|
||||
{"FromObject", (PyCFunction) C_BVHTree_FromObject, METH_VARARGS | METH_KEYWORDS | METH_CLASS, C_BVHTree_FromObject_doc},
|
||||
#endif
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
PyTypeObject PyBVHTree_Type = {
|
||||
|
||||
@@ -1510,7 +1510,7 @@ static PyMethodDef M_Geometry_methods[] = {
|
||||
{"box_fit_2d", (PyCFunction) M_Geometry_box_fit_2d, METH_O, M_Geometry_box_fit_2d_doc},
|
||||
{"box_pack_2d", (PyCFunction) M_Geometry_box_pack_2d, METH_O, M_Geometry_box_pack_2d_doc},
|
||||
#endif
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
static struct PyModuleDef M_Geometry_module_def = {
|
||||
|
||||
Reference in New Issue
Block a user