mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Daily arc lint --take CLANGFORMAT
Reviewed By: zertosh Differential Revision: D24679750 fbshipit-source-id: 42d5a8aa40ec99be9a51a8e3eed54f2fc8e29e3a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
97d6f2e6a9
commit
00456211e5
@@ -137,15 +137,16 @@ static inline void updateBufferSizes(
|
||||
}
|
||||
}
|
||||
|
||||
static inline void computeBufferSizes(int& batchMountItemIntsSize, int& batchMountItemObjectsSize,
|
||||
std::vector<CppMountItem>& cppCommonMountItems,
|
||||
std::vector<CppMountItem>& cppDeleteMountItems,
|
||||
std::vector<CppMountItem>& cppUpdatePropsMountItems,
|
||||
std::vector<CppMountItem>& cppUpdateStateMountItems,
|
||||
std::vector<CppMountItem>& cppUpdatePaddingMountItems,
|
||||
std::vector<CppMountItem>& cppUpdateLayoutMountItems,
|
||||
std::vector<CppMountItem>& cppUpdateEventEmitterMountItems) {
|
||||
|
||||
static inline void computeBufferSizes(
|
||||
int &batchMountItemIntsSize,
|
||||
int &batchMountItemObjectsSize,
|
||||
std::vector<CppMountItem> &cppCommonMountItems,
|
||||
std::vector<CppMountItem> &cppDeleteMountItems,
|
||||
std::vector<CppMountItem> &cppUpdatePropsMountItems,
|
||||
std::vector<CppMountItem> &cppUpdateStateMountItems,
|
||||
std::vector<CppMountItem> &cppUpdatePaddingMountItems,
|
||||
std::vector<CppMountItem> &cppUpdateLayoutMountItems,
|
||||
std::vector<CppMountItem> &cppUpdateEventEmitterMountItems) {
|
||||
CppMountItem::Type lastType = CppMountItem::Type::Undefined;
|
||||
int numSameType = 0;
|
||||
for (const auto &mountItem : cppCommonMountItems) {
|
||||
@@ -219,7 +220,6 @@ static inline void writeIntBufferTypePreamble(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
jni::local_ref<Binding::jhybriddata> Binding::initHybrid(
|
||||
jni::alias_ref<jclass>) {
|
||||
return makeCxxInstance();
|
||||
@@ -891,7 +891,10 @@ void Binding::schedulerDidFinishTransactionIntBuffer(
|
||||
// to know exactly how much space must be allocated
|
||||
int batchMountItemIntsSize = 0;
|
||||
int batchMountItemObjectsSize = 0;
|
||||
computeBufferSizes(batchMountItemIntsSize, batchMountItemObjectsSize, cppCommonMountItems,
|
||||
computeBufferSizes(
|
||||
batchMountItemIntsSize,
|
||||
batchMountItemObjectsSize,
|
||||
cppCommonMountItems,
|
||||
cppDeleteMountItems,
|
||||
cppUpdatePropsMountItems,
|
||||
cppUpdateStateMountItems,
|
||||
|
||||
Reference in New Issue
Block a user