Apply clang-format rules
Summary: @public Formats Yoga's source according to our clang-format configuration Reviewed By: SidharthGuglani Differential Revision: D13596650 fbshipit-source-id: c3722d4eafd63b7596a8b1e85c0197e9d2d6cb7d
This commit is contained in:
committed by
Facebook Github Bot
parent
5ee32fbefc
commit
ab9d06abf5
@@ -21,7 +21,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef WINARMDLL
|
||||
#define WIN_STRUCT(type) type *
|
||||
#define WIN_STRUCT(type) type*
|
||||
#define WIN_STRUCT_REF(value) &value
|
||||
#else
|
||||
#define WIN_STRUCT(type) type
|
||||
@@ -29,9 +29,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef NS_ENUM
|
||||
// Cannot use NSInteger as NSInteger has a different size than int (which is the default type of a
|
||||
// enum).
|
||||
// Therefor when linking the Yoga C library into obj-c the header is a missmatch for the Yoga ABI.
|
||||
// Cannot use NSInteger as NSInteger has a different size than int (which is the
|
||||
// default type of a enum). Therefor when linking the Yoga C library into obj-c
|
||||
// the header is a missmatch for the Yoga ABI.
|
||||
#define YG_ENUM_BEGIN(name) NS_ENUM(int, name)
|
||||
#define YG_ENUM_END(name)
|
||||
#else
|
||||
|
Reference in New Issue
Block a user