ClangFormat: add comments to ignore formatting
This commit is contained in:
@@ -125,6 +125,9 @@ typedef struct bUnitCollection {
|
|||||||
int length;
|
int length;
|
||||||
} bUnitCollection;
|
} bUnitCollection;
|
||||||
|
|
||||||
|
/* Keep table lignment. */
|
||||||
|
/* clang-format off */
|
||||||
|
|
||||||
#define UNIT_COLLECTION_LENGTH(def) (sizeof(def) / sizeof(bUnitDef) - 1)
|
#define UNIT_COLLECTION_LENGTH(def) (sizeof(def) / sizeof(bUnitDef) - 1)
|
||||||
#define NULL_UNIT {NULL, NULL, NULL, NULL, NULL, NULL, 0.0, 0.0}
|
#define NULL_UNIT {NULL, NULL, NULL, NULL, NULL, NULL, 0.0, 0.0}
|
||||||
|
|
||||||
@@ -329,7 +332,7 @@ static const struct bUnitCollection *bUnitSystems[][B_UNIT_TYPE_TOT] = {
|
|||||||
{NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
|
{NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* clang-format on*/
|
||||||
|
|
||||||
/* internal, has some option not exposed */
|
/* internal, has some option not exposed */
|
||||||
static const bUnitCollection *unit_get_system(int system, int type)
|
static const bUnitCollection *unit_get_system(int system, int type)
|
||||||
|
Reference in New Issue
Block a user