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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user