Repository navigation
Commit 96a89f9
Classify RCTTurboModuleManager.h as for-frameworks (#58948)
Summary:
Pull Request resolved: #58948
Add the for-frameworks guard to the iOS `RCTTurboModuleManager.h`.
`RCTTurboModuleManager` creates and owns TurboModules for a host, and `RCTTurboModuleManagerDelegate` is the protocol a host implements to supply them. That is host-integration API, in the same tier as `RCTHost.h` and `RCTInstance.h`, which are already for-frameworks: the app factory delegate in `RCTReactNativeFactory.h` adopts both `RCTHostDelegate` and `RCTTurboModuleManagerDelegate`, and imports both headers.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D124079995
fbshipit-source-id: 9b25b84d9eb1a9913630ca4a463db644ddc009ac1 parent 277e57e commit 96a89f9
4 files changed
Lines changed: 2 additions & 42 deletions
File tree
- packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon
- scripts/cxx-api/api-snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
1932 | | - | |
1933 | | - | |
1934 | | - | |
1935 | | - | |
1936 | | - | |
1937 | | - | |
1938 | 1932 | | |
1939 | 1933 | | |
1940 | 1934 | | |
| |||
2953 | 2947 | | |
2954 | 2948 | | |
2955 | 2949 | | |
2956 | | - | |
2957 | | - | |
2958 | | - | |
2959 | | - | |
2960 | | - | |
2961 | | - | |
2962 | | - | |
2963 | | - | |
2964 | 2950 | | |
2965 | 2951 | | |
2966 | 2952 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | | - | |
1926 | | - | |
1927 | | - | |
1928 | | - | |
1929 | | - | |
1930 | | - | |
1931 | 1925 | | |
1932 | 1926 | | |
1933 | 1927 | | |
| |||
2945 | 2939 | | |
2946 | 2940 | | |
2947 | 2941 | | |
2948 | | - | |
2949 | | - | |
2950 | | - | |
2951 | | - | |
2952 | | - | |
2953 | | - | |
2954 | | - | |
2955 | | - | |
2956 | 2942 | | |
2957 | 2943 | | |
2958 | 2944 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
1932 | | - | |
1933 | | - | |
1934 | | - | |
1935 | | - | |
1936 | | - | |
1937 | | - | |
1938 | 1932 | | |
1939 | 1933 | | |
1940 | 1934 | | |
| |||
2953 | 2947 | | |
2954 | 2948 | | |
2955 | 2949 | | |
2956 | | - | |
2957 | | - | |
2958 | | - | |
2959 | | - | |
2960 | | - | |
2961 | | - | |
2962 | | - | |
2963 | | - | |
2964 | 2950 | | |
2965 | 2951 | | |
2966 | 2952 | | |
| |||
0 commit comments