Revert D4386906: [YogaKit] Improved the objective-c and swift api
Summary: This reverts commit 05ac0e571ef3a8ff0be31469e449a7b23f102218 Differential Revision: D4386906 fbshipit-source-id: adac0d8e71ce9f3442f3bfd14b5157f88367c998
This commit is contained in:
committed by
Facebook Github Bot
parent
70a4221b9e
commit
e2a7938b26
@@ -40,19 +40,3 @@
|
||||
YG_ABORT(); \
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef YG_ENUM_BEGIN
|
||||
#ifndef NS_ENUM
|
||||
#define YG_ENUM_BEGIN(name) enum name
|
||||
#else
|
||||
#define YG_ENUM_BEGIN(name) NS_ENUM(NSInteger, name)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef YG_ENUM_END
|
||||
#ifndef NS_ENUM
|
||||
#define YG_ENUM_END(name) name
|
||||
#else
|
||||
#define YG_ENUM_END(name)
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user