Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/CallInvoker.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<ReactCommon/...>` includes; only outside
// consumers use this umbrella.
// should keep using the fine-grained `<ReactCommon/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/JSBigString.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<cxxreact/...>` includes; only outside
// consumers use this umbrella.
// should keep using the fine-grained `<cxxreact/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
8 changes: 6 additions & 2 deletions packages/react-native/ReactCommon/react/debug/React/Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/Debug.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/debug/...>` includes; only outside
// consumers use this umbrella.
// should keep using the fine-grained `<react/debug/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
//
// The `redbox/` headers are deliberately absent: they are implementation
// details of the dev-menu red box and carry no stability guarantee.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/FeatureFlags.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/featureflags/...>` includes; only
// outside consumers use this umbrella.
// should keep using the fine-grained `<react/featureflags/...>` includes,
// except in headers it exports to consumers: those are preprocessed in the
// consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
//
// The headers below are generated from
// `scripts/featureflags/ReactNativeFeatureFlags.config.js`, but this file is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
// #include <React/NativeModuleCore.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<ReactCommon/...>` includes; only outside
// consumers use this umbrella.
// should keep using the fine-grained `<ReactCommon/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/renderer/componentregistry/...>`
// includes; only outside consumers use this umbrella.
// includes, except in headers it exports to consumers: those are preprocessed
// in the consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/renderer/components/image/...>`
// includes; only outside consumers use this umbrella.
// includes, except in headers it exports to consumers: those are preprocessed
// in the consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/renderer/components/view/...>`
// includes; only outside consumers use this umbrella.
// includes, except in headers it exports to consumers: those are preprocessed
// in the consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/CSS.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/renderer/css/...>` includes; only
// outside consumers use this umbrella.
// should keep using the fine-grained `<react/renderer/css/...>` includes,
// except in headers it exports to consumers: those are preprocessed in the
// consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/renderer/imagemanager/...>`
// includes; only outside consumers use this umbrella.
// includes, except in headers it exports to consumers: those are preprocessed
// in the consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/MapBuffer.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/renderer/mapbuffer/...>` includes;
// only outside consumers use this umbrella.
// should keep using the fine-grained `<react/renderer/mapbuffer/...>` includes,
// except in headers it exports to consumers: those are preprocessed in the
// consumer's translation unit, where the fine-grained include hits this
// module's <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not
// suppress that guard, so a "for frameworks" header must reach this module
// through the umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
8 changes: 6 additions & 2 deletions packages/react-native/ReactCommon/react/timing/React/Timing.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/Timing.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/timing/...>` includes; only
// outside consumers use this umbrella.
// should keep using the fine-grained `<react/timing/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
8 changes: 6 additions & 2 deletions packages/react-native/ReactCommon/react/utils/React/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/Utils.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<react/utils/...>` includes; only outside
// consumers use this umbrella.
// should keep using the fine-grained `<react/utils/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
// #include <React/RuntimeExecutor.h>
//
// Re-exports the module's public interface headers. React Native's own code
// should keep using the fine-grained `<ReactCommon/...>` includes; only outside
// consumers use this umbrella.
// should keep using the fine-grained `<ReactCommon/...>` includes, except in
// headers it exports to consumers: those are preprocessed in the consumer's
// translation unit, where the fine-grained include hits this module's
// <react/cxxstableapi/UmbrellaGuard.h>. `RN_ALLOW_FRAMEWORKS` does not suppress
// that guard, so a "for frameworks" header must reach this module through the
// umbrella.
// =============================================================================

// Marks that the following headers are pulled in through the umbrella, so their
Expand Down
Loading