Skip to content

Commit 28902c9

Browse files
Jakub Piaseckimeta-codesync[bot]
authored andcommitted
Cover cxxreact:messagequeuethread with Stable API guards
Summary: Classifies `cxxreact:messagequeuethread` as a "for frameworks" target under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get a warning if they include its headers directly, which they can acknowledge with `RN_ALLOW_FRAMEWORKS`; without that flag the guards are inert, so no existing build changes behaviour. Changelog: [Internal] Differential Revision: D119163883
1 parent 98888cd commit 28902c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/react-native/ReactCommon/cxxreact/MessageQueueThread.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#pragma once
99

10+
#include <react/cxxstableapi/FrameworksGuard.h>
11+
1012
#include <functional>
1113

1214
namespace facebook::react {

0 commit comments

Comments
 (0)