Cleanup: move trailing comments to avoid wrapping code

Some statements were split across multiple lines because of their
trailing comments.

In most cases it's clearer to put the comments above.
This commit is contained in:
2019-08-14 23:29:46 +10:00
parent bc4fe45aef
commit 03b2371387
72 changed files with 311 additions and 239 deletions

View File

@@ -554,8 +554,9 @@ static int py_to_array(PyObject *seq,
/* not freeing allocated mem, RNA_parameter_list_free() will do this */
ParameterDynAlloc *param_alloc = (ParameterDynAlloc *)param_data;
param_alloc->array_tot = (int)totitem;
param_alloc->array = MEM_callocN(item_size * totitem,
"py_to_array dyn"); /* freeing param list will free */
/* freeing param list will free */
param_alloc->array = MEM_callocN(item_size * totitem, "py_to_array dyn");
data = param_alloc->array;
}