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

blender_theme_as_c: disable clang-format

parent b0d48925
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ C_SOURCE_HEADER = r'''/*
#include "BLO_readfile.h"
/* clang-format off */
#ifdef __LITTLE_ENDIAN__
# define RGBA(c) {((c) >> 24) & 0xff, ((c) >> 16) & 0xff, ((c) >> 8) & 0xff, (c) & 0xff}
# define RGB(c) {((c) >> 16) & 0xff, ((c) >> 8) & 0xff, (c) & 0xff}
......@@ -299,6 +301,8 @@ def convert_data(blend, theme, f):
write_member(fw, 1, blend, theme, ls)
fw('};\n')
fw('\n')
fw('/* clang-format on */\n')
def file_remove_empty_braces(source_dst):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment