clang-format off
This commit is contained in:
2
enums.py
2
enums.py
@@ -107,7 +107,7 @@ root = os.path.dirname(os.path.abspath(__file__))
|
|||||||
with open(root + "/yoga/YGEnums.h", "w") as f:
|
with open(root + "/yoga/YGEnums.h", "w") as f:
|
||||||
f.write(get_license("cpp"))
|
f.write(get_license("cpp"))
|
||||||
f.write("#pragma once\n")
|
f.write("#pragma once\n")
|
||||||
f.write("// clang-format: off\n\n")
|
f.write("// clang-format off\n\n")
|
||||||
f.write('#include "YGMacros.h"\n\n')
|
f.write('#include "YGMacros.h"\n\n')
|
||||||
|
|
||||||
f.write('YG_EXTERN_C_BEGIN\n\n')
|
f.write('YG_EXTERN_C_BEGIN\n\n')
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
// @generated by enums.py
|
// @generated by enums.py
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
// clang-format: off
|
// clang-format off
|
||||||
|
|
||||||
#include "YGMacros.h"
|
#include "YGMacros.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user