Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-19 05:21:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-19 05:58:35 +0300
commit8a61ea7296f17428f062a840c560e08a5a2f72ea (patch)
treeae91204131c79d7c3aa9e951b3eb5d7a6968d5b8 /source/blender/python/intern/bpy_rna.c
parentc59370bf643f6e85473c560c8f5edcf73cc36e8e (diff)
Cleanup: add trailing commas
Prevents clang-format merging into a single line.
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r--source/blender/python/intern/bpy_rna.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index f25f007033f..0b89a6eaa55 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -513,7 +513,7 @@ static Mathutils_Callback mathutils_rna_array_cb = {
(BaseMathGetFunc) mathutils_rna_vector_get,
(BaseMathSetFunc) mathutils_rna_vector_set,
(BaseMathGetIndexFunc) mathutils_rna_vector_get_index,
- (BaseMathSetIndexFunc) mathutils_rna_vector_set_index
+ (BaseMathSetIndexFunc) mathutils_rna_vector_set_index,
};
@@ -569,7 +569,7 @@ static Mathutils_Callback mathutils_rna_matrix_cb = {
mathutils_rna_matrix_get,
mathutils_rna_matrix_set,
NULL,
- NULL
+ NULL,
};
static short pyrna_rotation_euler_order_get(
@@ -5277,7 +5277,7 @@ static struct PyMethodDef pyrna_prop_methods[] = {
};
static struct PyMethodDef pyrna_prop_array_methods[] = {
- {NULL, NULL, 0, NULL}
+ {NULL, NULL, 0, NULL},
};
static struct PyMethodDef pyrna_prop_collection_methods[] = {
@@ -5977,7 +5977,7 @@ PyTypeObject pyrna_struct_meta_idprop_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
@@ -6067,7 +6067,7 @@ PyTypeObject pyrna_struct_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
/*-----------------------BPy_PropertyRNA method def------------------------------*/
@@ -6152,7 +6152,7 @@ PyTypeObject pyrna_prop_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
PyTypeObject pyrna_prop_array_Type = {
@@ -6235,7 +6235,7 @@ PyTypeObject pyrna_prop_array_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
PyTypeObject pyrna_prop_collection_Type = {
@@ -6319,7 +6319,7 @@ PyTypeObject pyrna_prop_collection_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
/* only for add/remove/move methods */
@@ -6404,7 +6404,7 @@ static PyTypeObject pyrna_prop_collection_idprop_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
/*-----------------------BPy_PropertyRNA method def------------------------------*/
@@ -6489,7 +6489,7 @@ PyTypeObject pyrna_func_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
#ifdef USE_PYRNA_ITER
@@ -6592,7 +6592,7 @@ static PyTypeObject pyrna_prop_collection_iter_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
static PyObject *pyrna_prop_collection_iter_CreatePyObject(PointerRNA *ptr, PropertyRNA *prop)
@@ -8312,7 +8312,7 @@ PyDoc_STRVAR(pyrna_unregister_class_doc,
" before unregistering.\n"
);
PyMethodDef meth_bpy_unregister_class = {
- "unregister_class", pyrna_unregister_class, METH_O, pyrna_unregister_class_doc
+ "unregister_class", pyrna_unregister_class, METH_O, pyrna_unregister_class_doc,
};
static PyObject *pyrna_unregister_class(PyObject *UNUSED(self), PyObject *py_class)
{