mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix include directive to solve redefinition error (#44891)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44891 Changelog: [Internal] Reviewed By: cortinico, fabriziocucci, cipolleschi Differential Revision: D58459144 fbshipit-source-id: a07280de01c9ff4333e5140c6b741d88c1c5d89a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
33aa83a0e6
commit
c92f31d834
+1
-1
@@ -9,13 +9,13 @@
|
||||
|
||||
#include <ReactCommon/CallInvokerHolder.h>
|
||||
#include <ReactCommon/JavaTurboModule.h>
|
||||
#include <ReactCommon/LongLivedObject.h>
|
||||
#include <ReactCommon/NativeMethodCallInvokerHolder.h>
|
||||
#include <ReactCommon/RuntimeExecutor.h>
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <ReactCommon/TurboModuleManagerDelegate.h>
|
||||
#include <fbjni/fbjni.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/bridging/LongLivedObject.h>
|
||||
#include <react/jni/CxxModuleWrapper.h>
|
||||
#include <react/jni/JRuntimeExecutor.h>
|
||||
#include <memory>
|
||||
|
||||
@@ -7,10 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <react/bridging/Convert.h>
|
||||
|
||||
#include <ReactCommon/CallInvoker.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/bridging/Convert.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@@ -18,6 +16,8 @@
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
class CallInvoker;
|
||||
|
||||
template <typename T, typename = void>
|
||||
struct Bridging;
|
||||
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <ReactCommon/CallInvoker.h>
|
||||
|
||||
#include "LongLivedObject.h"
|
||||
#include <react/bridging/LongLivedObject.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
class CallInvoker;
|
||||
|
||||
// Helper for passing jsi::Function arg to other methods.
|
||||
class CallbackWrapper : public LongLivedObject {
|
||||
private:
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <react/bridging/Base.h>
|
||||
#include <react/bridging/CallbackWrapper.h>
|
||||
|
||||
#include <ReactCommon/CallInvoker.h>
|
||||
#include <ReactCommon/SchedulerPriority.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
+3
-2
@@ -9,9 +9,10 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <ReactCommon/LongLivedObject.h>
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <react/bridging/LongLivedObject.h>
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
|
||||
+2
-3
@@ -11,9 +11,8 @@
|
||||
#include <string>
|
||||
|
||||
#include <jsi/jsi.h>
|
||||
|
||||
#include <ReactCommon/CallInvoker.h>
|
||||
#include <ReactCommon/CallbackWrapper.h>
|
||||
#include <react/bridging/CallbackWrapper.h>
|
||||
#include <react/bridging/LongLivedObject.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user