Cleanup: clang-format

This commit is contained in:
2020-11-06 10:29:00 +11:00
parent 73ea68d0ca
commit c19e4b706e
8 changed files with 18 additions and 14 deletions

View File

@@ -420,9 +420,9 @@ static BLT_i18n_contexts_descriptor _contexts[] = BLT_I18NCONTEXTS_DESC;
static PyStructSequence_Field app_translations_contexts_fields[ARRAY_SIZE(_contexts)] = {{NULL}};
static PyStructSequence_Desc app_translations_contexts_desc = {
"bpy.app.translations.contexts", /* name */
"bpy.app.translations.contexts", /* name */
"This named tuple contains all predefined translation contexts", /* doc */
app_translations_contexts_fields, /* fields */
app_translations_contexts_fields, /* fields */
ARRAY_SIZE(app_translations_contexts_fields) - 1,
};

View File

@@ -73,15 +73,15 @@ static PyStructSequence_Field bpyunits_systems_fields[ARRAY_SIZE(bpyunits_usyste
static PyStructSequence_Field bpyunits_categories_fields[ARRAY_SIZE(bpyunits_ucategorie_items)];
static PyStructSequence_Desc bpyunits_systems_desc = {
"bpy.utils.units.systems", /* name */
"bpy.utils.units.systems", /* name */
"This named tuple contains all predefined unit systems", /* doc */
bpyunits_systems_fields, /* fields */
bpyunits_systems_fields, /* fields */
ARRAY_SIZE(bpyunits_systems_fields) - 1,
};
static PyStructSequence_Desc bpyunits_categories_desc = {
"bpy.utils.units.categories", /* name */
"bpy.utils.units.categories", /* name */
"This named tuple contains all predefined unit names", /* doc */
bpyunits_categories_fields, /* fields */
bpyunits_categories_fields, /* fields */
ARRAY_SIZE(bpyunits_categories_fields) - 1,
};