Commit e54aea4
Cover
Summary:
Pull Request resolved: #58142
Classifies `react/nativemodule/cputime:cputime` as a private target under the C++ stable API three-tier visibility model. Adds `#include <react/cxxstableapi/PrivateGuard.h>` to both of the module's exported headers (`CPUTime.h` and `NativeCPUTime.h`), and wires the guard dependency into BUCK and CMake.
No pod ships this module and it is not exported through prefab, so there is no podspec or SwiftPM change to make.
The guards are inert unless a consumer defines `RN_STRICT_API`, so there is no behavior change.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D117340507
fbshipit-source-id: 559c7f74bbcdc67d8fef1a3f4e291f260c9e92acnativemodule/cputime with guards (#58142)1 parent 73778b3 commit e54aea4
3 files changed
Lines changed: 5 additions & 0 deletions
File tree
- packages/react-native/ReactCommon/react/nativemodule/cputime
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
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