Move YGSetUsedCachedEntries
to internal header
Summary: @public In order to get out of pre-releases again, we move `YGSetUsedCachedEntries` from `Yoga.h` to `Yoga-internal.h`. This way, it’s obvious that the function is not public, and we can remove it from future versions without breaking semver contracts. Reviewed By: SidharthGuglani Differential Revision: D14726029 fbshipit-source-id: 8d7e747e843bf5c4b5e1d4cfbfa37ca9d240dffb
This commit is contained in:
committed by
Facebook Github Bot
parent
498c0ff4bf
commit
e0bc0ebe29
@@ -7,6 +7,7 @@
|
|||||||
#include <fb/fbjni.h>
|
#include <fb/fbjni.h>
|
||||||
#include <yoga/YGNode.h>
|
#include <yoga/YGNode.h>
|
||||||
#include <yoga/Yoga.h>
|
#include <yoga/Yoga.h>
|
||||||
|
#include <yoga/Yoga-internal.h>
|
||||||
#include <yoga/log.h>
|
#include <yoga/log.h>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
@@ -29,6 +29,8 @@ void YGNodeCalculateLayoutWithContext(
|
|||||||
YGDirection ownerDirection,
|
YGDirection ownerDirection,
|
||||||
void* layoutContext);
|
void* layoutContext);
|
||||||
|
|
||||||
|
void YGSetUsedCachedEntries(size_t);
|
||||||
|
|
||||||
YG_EXTERN_C_END
|
YG_EXTERN_C_END
|
||||||
|
|
||||||
namespace facebook {
|
namespace facebook {
|
||||||
|
@@ -411,8 +411,6 @@ WIN_EXPORT float YGRoundValueToPixelGrid(
|
|||||||
const bool forceCeil,
|
const bool forceCeil,
|
||||||
const bool forceFloor);
|
const bool forceFloor);
|
||||||
|
|
||||||
void YGSetUsedCachedEntries(size_t);
|
|
||||||
|
|
||||||
YG_EXTERN_C_END
|
YG_EXTERN_C_END
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Reference in New Issue
Block a user