Code style edits (mostly spliting long lines, and removing trailing spaces).

Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines):
* The node types definitions into rna_nodetree_types.h
* The vgroup name functions into rna_particle.c
This commit is contained in:
2012-03-18 09:27:36 +00:00
parent 1fa0b86c28
commit ed43b652ee
77 changed files with 2580 additions and 1369 deletions

View File

@@ -133,7 +133,8 @@ void RNA_def_test(BlenderRNA *brna)
/* dynamic arrays */
prop = RNA_def_float_array(srna, "fdarr", DYNAMIC_ARRAY_SIZE, NULL, 0.0f, 0.0f, "fdarr", "dynamic float array", 0.0f, 0.0f);
prop = RNA_def_float_array(srna, "fdarr", DYNAMIC_ARRAY_SIZE, NULL, 0.0f, 0.0f, "fdarr",
"dynamic float array", 0.0f, 0.0f);
RNA_def_property_flag(prop, PROP_DYNAMIC);
RNA_def_property_dynamic_array_funcs(prop, "rna_Test_fdarr_get_length", "rna_Test_fdarr_set_length");
RNA_def_property_float_funcs(prop, "rna_Test_fdarr_get", "rna_Test_fdarr_set", NULL);
@@ -186,5 +187,3 @@ void RNA_def_test(BlenderRNA *brna)
}
#endif /* RNA_RUNTIME */