Commit 5dcbbae
Classify iosswitch headers as private (#58405)
Summary:
Pull Request resolved: #58405
Classify the Apple Fabric Switch C++ headers as private API. Strict API consumers now receive a hard error when including these implementation headers, while React Native builds continue to use them under RN_BUILDING.
Propagate the cxxstableapi dependency from the iosswitch Buck target so its exported guarded headers resolve PrivateGuard.h.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D119171908
fbshipit-source-id: ba935899a990c52c243c6b1a6e80da3b7e1940f91 parent 5464221 commit 5dcbbae
2 files changed
Lines changed: 4 additions & 0 deletions
File tree
- packages/react-native/ReactCommon/react/renderer/components/switch/iosswitch/react/renderer/components/switch
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments