Add #pragma once and extern C to YGEnums.h
Reviewed By: gkassabli Differential Revision: D4274156 fbshipit-source-id: 9fa0ae146bb9e5bd40d93fa3c56f83424ebd2bf9
This commit is contained in:
parent
682f540b41
commit
f4cde4f65c
|
@ -7,6 +7,12 @@
|
|||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "YGMacros.h"
|
||||
|
||||
YG_EXTERN_C_BEGIN
|
||||
|
||||
typedef enum YGFlexDirection {
|
||||
YGFlexDirectionColumn,
|
||||
YGFlexDirectionColumnReverse,
|
||||
|
@ -106,3 +112,5 @@ typedef enum YGAlign {
|
|||
YGAlignStretch,
|
||||
YGAlignCount,
|
||||
} YGAlign;
|
||||
|
||||
YG_EXTERN_C_END
|
||||
|
|
Loading…
Reference in New Issue