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_utils_units.c
parentc59370bf643f6e85473c560c8f5edcf73cc36e8e (diff)
Cleanup: add trailing commas
Prevents clang-format merging into a single line.
Diffstat (limited to 'source/blender/python/intern/bpy_utils_units.c')
-rw-r--r--source/blender/python/intern/bpy_utils_units.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_utils_units.c b/source/blender/python/intern/bpy_utils_units.c
index 1d1108e1af0..5a8b8606f74 100644
--- a/source/blender/python/intern/bpy_utils_units.c
+++ b/source/blender/python/intern/bpy_utils_units.c
@@ -301,7 +301,7 @@ static PyObject *bpyunits_to_string(PyObject *UNUSED(self), PyObject *args, PyOb
static PyMethodDef bpyunits_methods[] = {
{"to_value", (PyCFunction)bpyunits_to_value, METH_VARARGS | METH_KEYWORDS, bpyunits_to_value_doc},
{"to_string", (PyCFunction)bpyunits_to_string, METH_VARARGS | METH_KEYWORDS, bpyunits_to_string_doc},
- {NULL, NULL, 0, NULL}
+ {NULL, NULL, 0, NULL},
};
PyDoc_STRVAR(bpyunits_doc,
@@ -314,7 +314,7 @@ static struct PyModuleDef bpyunits_module = {
bpyunits_doc,
-1, /* multiple "initialization" just copies the module dict. */
bpyunits_methods,
- NULL, NULL, NULL, NULL
+ NULL, NULL, NULL, NULL,
};
PyObject *BPY_utils_units(void)