Commit 4edac1c
Classify react/nativemodule/defaults as for-frameworks (#58423)
Summary:
Pull Request resolved: #58423
Reclassify `DefaultTurboModules.h` from the private C++ Stable API tier to the
"for frameworks" tier, and add the `#pragma once` the header was missing.
`DefaultTurboModules::getTurboModule` is the entry point out-of-tree platforms and
custom C++ hosts use to obtain React Native's core turbo modules. Its exported surface
is a single static function over `std::string`, `CallInvoker` and the `TurboModule` base
class, so it exposes no private type. The concrete `react/nativemodule/*`
implementations it delegates to all remain private.
Changelog: [Internal]
Differential Revision: D119326878
fbshipit-source-id: 8e638ca1c91cf40ccc9ebad73331be3b87bfe3191 parent f109c0a commit 4edac1c
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments