Cleanup: clang-format
This commit is contained in:
@@ -269,51 +269,51 @@ static PyGetSetDef BPy_SShape_getseters[] = {
|
||||
{"id", (getter)SShape_id_get, (setter)SShape_id_set, SShape_id_doc, nullptr},
|
||||
{"name", (getter)SShape_name_get, (setter)SShape_name_set, SShape_name_doc, nullptr},
|
||||
{"bbox", (getter)SShape_bbox_get, (setter)SShape_bbox_set, SShape_bbox_doc, nullptr},
|
||||
{"edges", (getter)SShape_edges_get, (setter)nullptr, SShape_edges_doc, nullptr},
|
||||
{"vertices", (getter)SShape_vertices_get, (setter)nullptr, SShape_vertices_doc, nullptr},
|
||||
{"edges", (getter)SShape_edges_get, (setter) nullptr, SShape_edges_doc, nullptr},
|
||||
{"vertices", (getter)SShape_vertices_get, (setter) nullptr, SShape_vertices_doc, nullptr},
|
||||
{nullptr, nullptr, nullptr, nullptr, nullptr} /* Sentinel */
|
||||
};
|
||||
|
||||
/*-----------------------BPy_SShape type definition ------------------------------*/
|
||||
|
||||
PyTypeObject SShape_Type = {
|
||||
PyVarObject_HEAD_INIT(nullptr, 0) "SShape", /* tp_name */
|
||||
sizeof(BPy_SShape), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
(destructor)SShape_dealloc, /* tp_dealloc */
|
||||
nullptr, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
nullptr, /* tp_reserved */
|
||||
(reprfunc)SShape_repr, /* tp_repr */
|
||||
nullptr, /* tp_as_number */
|
||||
nullptr, /* tp_as_sequence */
|
||||
nullptr, /* tp_as_mapping */
|
||||
nullptr, /* tp_hash */
|
||||
nullptr, /* tp_call */
|
||||
nullptr, /* tp_str */
|
||||
nullptr, /* tp_getattro */
|
||||
nullptr, /* tp_setattro */
|
||||
nullptr, /* tp_as_buffer */
|
||||
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
|
||||
SShape_doc, /* tp_doc */
|
||||
nullptr, /* tp_traverse */
|
||||
nullptr, /* tp_clear */
|
||||
nullptr, /* tp_richcompare */
|
||||
0, /* tp_weaklistoffset */
|
||||
nullptr, /* tp_iter */
|
||||
nullptr, /* tp_iternext */
|
||||
BPy_SShape_methods, /* tp_methods */
|
||||
nullptr, /* tp_members */
|
||||
BPy_SShape_getseters, /* tp_getset */
|
||||
nullptr, /* tp_base */
|
||||
nullptr, /* tp_dict */
|
||||
nullptr, /* tp_descr_get */
|
||||
nullptr, /* tp_descr_set */
|
||||
0, /* tp_dictoffset */
|
||||
(initproc)SShape_init, /* tp_init */
|
||||
nullptr, /* tp_alloc */
|
||||
PyType_GenericNew, /* tp_new */
|
||||
PyVarObject_HEAD_INIT(nullptr, 0) "SShape", /* tp_name */
|
||||
sizeof(BPy_SShape), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
(destructor)SShape_dealloc, /* tp_dealloc */
|
||||
nullptr, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
nullptr, /* tp_reserved */
|
||||
(reprfunc)SShape_repr, /* tp_repr */
|
||||
nullptr, /* tp_as_number */
|
||||
nullptr, /* tp_as_sequence */
|
||||
nullptr, /* tp_as_mapping */
|
||||
nullptr, /* tp_hash */
|
||||
nullptr, /* tp_call */
|
||||
nullptr, /* tp_str */
|
||||
nullptr, /* tp_getattro */
|
||||
nullptr, /* tp_setattro */
|
||||
nullptr, /* tp_as_buffer */
|
||||
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
|
||||
SShape_doc, /* tp_doc */
|
||||
nullptr, /* tp_traverse */
|
||||
nullptr, /* tp_clear */
|
||||
nullptr, /* tp_richcompare */
|
||||
0, /* tp_weaklistoffset */
|
||||
nullptr, /* tp_iter */
|
||||
nullptr, /* tp_iternext */
|
||||
BPy_SShape_methods, /* tp_methods */
|
||||
nullptr, /* tp_members */
|
||||
BPy_SShape_getseters, /* tp_getset */
|
||||
nullptr, /* tp_base */
|
||||
nullptr, /* tp_dict */
|
||||
nullptr, /* tp_descr_get */
|
||||
nullptr, /* tp_descr_set */
|
||||
0, /* tp_dictoffset */
|
||||
(initproc)SShape_init, /* tp_init */
|
||||
nullptr, /* tp_alloc */
|
||||
PyType_GenericNew, /* tp_new */
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user