Skip to content
Snippets Groups Projects
Commit 49e4182b authored by Campbell Barton's avatar Campbell Barton
Browse files

ClangFormat: add comments to ignore formatting

parent 24edd498
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,9 @@ typedef struct bUnitCollection {
int length;
} bUnitCollection;
/* Keep table lignment. */
/* clang-format off */
#define UNIT_COLLECTION_LENGTH(def) (sizeof(def) / sizeof(bUnitDef) - 1)
#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},
};
/* clang-format on*/
/* internal, has some option not exposed */
static const bUnitCollection *unit_get_system(int system, int type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment