Fix build with -Wmissing-prototypes
Reviewed By: mzlee Differential Revision: D4012611 fbshipit-source-id: f56949d464e0ce602138b60f4abfd45b211be3b2
This commit is contained in:
parent
924c9927d0
commit
863459064f
|
@ -208,7 +208,7 @@ void CSSNodeInit(const CSSNodeRef node) {
|
||||||
node->layout.cachedLayout.heightMeasureMode = (CSSMeasureMode) -1;
|
node->layout.cachedLayout.heightMeasureMode = (CSSMeasureMode) -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void _CSSNodeMarkDirty(const CSSNodeRef node) {
|
static void _CSSNodeMarkDirty(const CSSNodeRef node) {
|
||||||
if (!node->isDirty) {
|
if (!node->isDirty) {
|
||||||
node->isDirty = true;
|
node->isDirty = true;
|
||||||
node->layout.computedFlexBasis = CSSUndefined;
|
node->layout.computedFlexBasis = CSSUndefined;
|
||||||
|
|
|
@ -127,11 +127,11 @@ typedef void (*CSSAssertFailFunc)(const char *message);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// CSSNode
|
// CSSNode
|
||||||
WIN_EXPORT CSSNodeRef CSSNodeNew();
|
WIN_EXPORT CSSNodeRef CSSNodeNew(void);
|
||||||
WIN_EXPORT void CSSNodeInit(const CSSNodeRef node);
|
WIN_EXPORT void CSSNodeInit(const CSSNodeRef node);
|
||||||
WIN_EXPORT void CSSNodeFree(const CSSNodeRef node);
|
WIN_EXPORT void CSSNodeFree(const CSSNodeRef node);
|
||||||
WIN_EXPORT void CSSNodeFreeRecursive(const CSSNodeRef node);
|
WIN_EXPORT void CSSNodeFreeRecursive(const CSSNodeRef node);
|
||||||
WIN_EXPORT int32_t CSSNodeGetInstanceCount();
|
WIN_EXPORT int32_t CSSNodeGetInstanceCount(void);
|
||||||
|
|
||||||
WIN_EXPORT void CSSNodeInsertChild(const CSSNodeRef node, const CSSNodeRef child, const uint32_t index);
|
WIN_EXPORT void CSSNodeInsertChild(const CSSNodeRef node, const CSSNodeRef child, const uint32_t index);
|
||||||
WIN_EXPORT void CSSNodeRemoveChild(const CSSNodeRef node, const CSSNodeRef child);
|
WIN_EXPORT void CSSNodeRemoveChild(const CSSNodeRef node, const CSSNodeRef child);
|
||||||
|
|
Loading…
Reference in New Issue