Cleanup: trailing commas
Needed for clan-format not to wrap onto one line.
This commit is contained in:
@@ -578,12 +578,12 @@ static PyObject *Buffer_dimensions(Buffer *self, void *UNUSED(arg))
|
||||
static PyMethodDef Buffer_methods[] = {
|
||||
{"to_list", (PyCFunction)Buffer_to_list_recursive, METH_NOARGS,
|
||||
"return the buffer as a list"},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
static PyGetSetDef Buffer_getseters[] = {
|
||||
{(char *)"dimensions", (getter)Buffer_dimensions, NULL, NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL, NULL}
|
||||
{NULL, NULL, NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
|
||||
|
@@ -465,7 +465,7 @@ static PyMethodDef BLF_methods[] = {
|
||||
{"color", (PyCFunction) py_blf_color, METH_VARARGS, py_blf_color_doc},
|
||||
{"load", (PyCFunction) py_blf_load, METH_VARARGS, py_blf_load_doc},
|
||||
{"unload", (PyCFunction) py_blf_unload, METH_VARARGS, py_blf_unload_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
PyDoc_STRVAR(BLF_doc,
|
||||
|
@@ -261,7 +261,7 @@ static PyObject *BPy_IDGroup_GetType(BPy_IDProperty *self)
|
||||
|
||||
static PyGetSetDef BPy_IDGroup_getseters[] = {
|
||||
{(char *)"name", (getter)BPy_IDGroup_GetName, (setter)BPy_IDGroup_SetName, (char *)"The name of this Group.", NULL},
|
||||
{NULL, NULL, NULL, NULL, NULL}
|
||||
{NULL, NULL, NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
static Py_ssize_t BPy_IDGroup_Map_Len(BPy_IDProperty *self)
|
||||
@@ -1137,7 +1137,7 @@ static struct PyMethodDef BPy_IDGroup_methods[] = {
|
||||
{"get", (PyCFunction)BPy_IDGroup_get, METH_VARARGS, BPy_IDGroup_get_doc},
|
||||
{"to_dict", (PyCFunction)BPy_IDGroup_to_dict, METH_NOARGS, BPy_IDGroup_to_dict_doc},
|
||||
{"clear", (PyCFunction)BPy_IDGroup_clear, METH_NOARGS, BPy_IDGroup_clear_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
static PySequenceMethods BPy_IDGroup_Seq = {
|
||||
@@ -1281,7 +1281,7 @@ static PyObject *BPy_IDArray_to_list(BPy_IDArray *self)
|
||||
|
||||
static PyMethodDef BPy_IDArray_methods[] = {
|
||||
{"to_list", (PyCFunction)BPy_IDArray_to_list, METH_NOARGS, BPy_IDArray_to_list_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
static int BPy_IDArray_Len(BPy_IDArray *self)
|
||||
@@ -1772,7 +1772,7 @@ static PyObject *BPyInit_idprop_types(void)
|
||||
/* --- */
|
||||
|
||||
static PyMethodDef IDProp_methods[] = {
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
|
||||
|
@@ -146,7 +146,7 @@ static struct PyMethodDef Py_ImBuf_methods[] = {
|
||||
{"copy", (PyCFunction)py_imbuf_copy, METH_NOARGS, (char *)py_imbuf_copy_doc},
|
||||
{"__copy__", (PyCFunction)py_imbuf_copy, METH_NOARGS, (char *)py_imbuf_copy_doc},
|
||||
{"__deepcopy__", (PyCFunction)py_imbuf_deepcopy, METH_VARARGS, (char *)py_imbuf_copy_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
/** \} */
|
||||
@@ -435,7 +435,7 @@ static PyMethodDef IMB_methods[] = {
|
||||
{"new", (PyCFunction) M_imbuf_new, METH_VARARGS | METH_KEYWORDS, M_imbuf_new_doc},
|
||||
{"load", (PyCFunction) M_imbuf_load, METH_VARARGS | METH_KEYWORDS, M_imbuf_load_doc},
|
||||
{"write", (PyCFunction) M_imbuf_write, METH_VARARGS | METH_KEYWORDS, M_imbuf_write_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
PyDoc_STRVAR(IMB_doc,
|
||||
|
Reference in New Issue
Block a user