ClangFormat: run with ReflowComments on source/

Prepare for enabling ReflowComments.
This commit is contained in:
2019-05-01 11:09:22 +10:00
parent f70470b540
commit 909665a0d4
184 changed files with 528 additions and 505 deletions

View File

@@ -807,7 +807,7 @@ int BPY_context_member_get(bContext *C, const char *member, bContextDataResult *
else if (BPy_StructRNA_Check(item)) {
ptr = &(((BPy_StructRNA *)item)->ptr);
//result->ptr = ((BPy_StructRNA *)item)->ptr;
// result->ptr = ((BPy_StructRNA *)item)->ptr;
CTX_data_pointer_set(result, ptr->id.data, ptr->type, ptr->data);
CTX_data_type_set(result, CTX_DATA_TYPE_POINTER);
done = true;

View File

@@ -5114,7 +5114,7 @@ static int foreach_parse_args(BPy_PropertyRNA *self,
}
*size = RNA_raw_type_sizeof(*raw_type);
#if 0 /* works fine but not strictly needed,
#if 0 /* works fine but not strictly needed, \
* we could allow RNA_property_collection_raw_* to do the checks */
if ((*attr_tot) < 1) {
*attr_tot = 1;
@@ -8785,7 +8785,7 @@ static PyObject *pyrna_unregister_class(PyObject *UNUSED(self), PyObject *py_cla
PyDict_DelItem(((PyTypeObject *)py_class)->tp_dict, bpy_intern_str_bl_rna);
if (PyErr_Occurred()) {
PyErr_Clear(); //return NULL;
PyErr_Clear(); // return NULL;
}
Py_RETURN_NONE;

View File

@@ -31,8 +31,8 @@
#endif
/* python, will come back */
//void BPY_script_exec(void) {}
//void BPY_python_start(void) {}
// void BPY_script_exec(void) {}
// void BPY_python_start(void) {}
void BPY_pyconstraint_exec(struct bPythonConstraint *con,
struct bConstraintOb *cob,
struct ListBase *targets)