mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
Use Bridging umbrella in generated modules (#58486)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/58486 Generate TurboModule interfaces using the public Bridging C++ entry point so generated consumers remain compatible with the strict API boundary. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D119658518 fbshipit-source-id: 42b2c23c8a1c4264704a916b0c4e19660110a86d
This commit is contained in:
committed by
meta-codesync[bot]
parent
a17fbb48e0
commit
faa7aa0166
+2
-2
@@ -13,7 +13,7 @@ exports[`GenerateModuleH can generate a header file NativeModule specs 1`] = `
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -1610,7 +1610,7 @@ exports[`GenerateModuleH can generate a header file NativeModule specs with assu
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ const FileTemplate = ({
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
|
||||
+13
-13
@@ -14,7 +14,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -52,7 +52,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -113,7 +113,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -156,7 +156,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -253,7 +253,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -972,7 +972,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -1010,7 +1010,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -1175,7 +1175,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -1297,7 +1297,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -1834,7 +1834,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -2050,7 +2050,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -2101,7 +2101,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -2172,7 +2172,7 @@ Map {
|
||||
#pragma once
|
||||
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <react/bridging/Bridging.h>
|
||||
#include <React/Bridging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user