Skip to content

Commit 01cb905

Browse files
coadometa-codesync[bot]
authored andcommitted
Exclude Fantom symbols from the C++ public API snapshot (#56241)
Summary: Pull Request resolved: #56241 Strips remaining Fantom symbols from the public API snapshots generated by codegen. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D98295521
1 parent 02fcf2e commit 01cb905

5 files changed

Lines changed: 1 addition & 302 deletions

File tree

scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -7008,15 +7008,6 @@ enum facebook::react::ModalHostViewSupportedOrientations : facebook::react::Moda
70087008
PortraitUpsideDown,
70097009
}
70107010

7011-
enum facebook::react::NativeFantomNativeEventCategory {
7012-
Continuous,
7013-
ContinuousEnd,
7014-
ContinuousStart,
7015-
Discrete,
7016-
Idle,
7017-
Unspecified,
7018-
}
7019-
70207011
enum facebook::react::NullValueStrategy {
70217012
Ignore,
70227013
Override,
@@ -9207,15 +9198,6 @@ struct facebook::react::NativeDeviceInfoDisplayMetrics {
92079198
public bool operator==(const facebook::react::NativeDeviceInfoDisplayMetrics& other) const;
92089199
}
92099200

9210-
template <typename P0, typename P1, typename P2, typename P3>
9211-
struct facebook::react::NativeFantomImageResponse {
9212-
public P0 width;
9213-
public P1 height;
9214-
public P2 cacheStatus;
9215-
public P3 errorMessage;
9216-
public bool operator==(const facebook::react::NativeFantomImageResponse& other) const;
9217-
}
9218-
92199201
template <typename P0, typename P1, typename P2, typename P3>
92209202
struct facebook::react::NativeMutationObserverNativeMutationRecord {
92219203
public P0 mutationObserverId;
@@ -9267,14 +9249,6 @@ struct facebook::react::NativeDeviceInfoDeviceInfoConstants {
92679249
public bool operator==(const facebook::react::NativeDeviceInfoDeviceInfoConstants& other) const;
92689250
}
92699251

9270-
template <typename P0, typename P1, typename P2>
9271-
struct facebook::react::NativeFantomScrollOptions {
9272-
public P0 x;
9273-
public P1 y;
9274-
public P2 zoomScale;
9275-
public bool operator==(const facebook::react::NativeFantomScrollOptions& other) const;
9276-
}
9277-
92789252
template <typename P0, typename P1, typename P2>
92799253
struct facebook::react::NativeI18nManagerI18nManagerConstants {
92809254
public P0 doLeftAndRightSwapInRTL;
@@ -9320,13 +9294,6 @@ struct facebook::react::NativeBlobModuleConstants {
93209294
public bool operator==(const facebook::react::NativeBlobModuleConstants& other) const;
93219295
}
93229296

9323-
template <typename P0, typename P1>
9324-
struct facebook::react::NativeFantomRenderFormatOptions {
9325-
public P0 includeRoot;
9326-
public P1 includeLayoutMetrics;
9327-
public bool operator==(const facebook::react::NativeFantomRenderFormatOptions& other) const;
9328-
}
9329-
93309297
template <typename P0, typename P1>
93319298
struct facebook::react::NativeIdleCallbacksIdleDeadline {
93329299
public P0 didTimeout;
@@ -9588,18 +9555,6 @@ class facebook::react::NativeExceptionsManagerCxxSpec : public facebook::react::
95889555
public static constexpr std::string_view kModuleName;
95899556
}
95909557

9591-
template <typename T>
9592-
class facebook::react::NativeFantomCxxSpec : public facebook::react::TurboModule {
9593-
protected NativeFantomCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
9594-
public static constexpr std::string_view kModuleName;
9595-
}
9596-
9597-
template <typename T>
9598-
class facebook::react::NativeFantomTestSpecificMethodsCxxSpec : public facebook::react::TurboModule {
9599-
protected NativeFantomTestSpecificMethodsCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
9600-
public static constexpr std::string_view kModuleName;
9601-
}
9602-
96039558
template <typename T>
96049559
class facebook::react::NativeFileReaderModuleCxxSpec : public facebook::react::TurboModule {
96059560
protected NativeFileReaderModuleCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
@@ -10059,36 +10014,6 @@ struct facebook::react::NativeExceptionsManagerStackFrameBridging {
1005910014
public static std::optional<facebook::jsi::String> fileToJs(facebook::jsi::Runtime& rt, decltype(types.file) value);
1006010015
}
1006110016

10062-
template <typename T>
10063-
struct facebook::react::NativeFantomImageResponseBridging {
10064-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10065-
public static T types;
10066-
public static double heightToJs(facebook::jsi::Runtime& rt, decltype(types.height) value);
10067-
public static double widthToJs(facebook::jsi::Runtime& rt, decltype(types.width) value);
10068-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10069-
public static facebook::jsi::String cacheStatusToJs(facebook::jsi::Runtime& rt, decltype(types.cacheStatus) value);
10070-
public static facebook::jsi::String errorMessageToJs(facebook::jsi::Runtime& rt, decltype(types.errorMessage) value);
10071-
}
10072-
10073-
template <typename T>
10074-
struct facebook::react::NativeFantomRenderFormatOptionsBridging {
10075-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10076-
public static T types;
10077-
public static bool includeLayoutMetricsToJs(facebook::jsi::Runtime& rt, decltype(types.includeLayoutMetrics) value);
10078-
public static bool includeRootToJs(facebook::jsi::Runtime& rt, decltype(types.includeRoot) value);
10079-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10080-
}
10081-
10082-
template <typename T>
10083-
struct facebook::react::NativeFantomScrollOptionsBridging {
10084-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10085-
public static T types;
10086-
public static double xToJs(facebook::jsi::Runtime& rt, decltype(types.x) value);
10087-
public static double yToJs(facebook::jsi::Runtime& rt, decltype(types.y) value);
10088-
public static double zoomScaleToJs(facebook::jsi::Runtime& rt, decltype(types.zoomScale) value);
10089-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10090-
}
10091-
1009210017
template <typename T>
1009310018
struct facebook::react::NativeI18nManagerI18nManagerConstantsBridging {
1009410019
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
@@ -10501,11 +10426,6 @@ struct facebook::react::Bridging<facebook::react::HighResTimeStamp> {
1050110426
public static facebook::react::HighResTimeStamp fromJs(facebook::jsi::Runtime&, const facebook::jsi::Value& jsiValue);
1050210427
}
1050310428

10504-
struct facebook::react::Bridging<facebook::react::NativeFantomNativeEventCategory> {
10505-
public static facebook::jsi::Value toJs(facebook::jsi::Runtime& rt, facebook::react::NativeFantomNativeEventCategory value);
10506-
public static facebook::react::NativeFantomNativeEventCategory fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Value& rawValue);
10507-
}
10508-
1050910429
struct facebook::react::Bridging<facebook::react::NativeIntersectionObserverEntry> : public facebook::react::NativeIntersectionObserverNativeIntersectionObserverEntryBridging<facebook::react::NativeIntersectionObserverEntry> {
1051010430
}
1051110431

scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -6999,15 +6999,6 @@ enum facebook::react::ModalHostViewSupportedOrientations : facebook::react::Moda
69996999
PortraitUpsideDown,
70007000
}
70017001

7002-
enum facebook::react::NativeFantomNativeEventCategory {
7003-
Continuous,
7004-
ContinuousEnd,
7005-
ContinuousStart,
7006-
Discrete,
7007-
Idle,
7008-
Unspecified,
7009-
}
7010-
70117002
enum facebook::react::NullValueStrategy {
70127003
Ignore,
70137004
Override,
@@ -9198,15 +9189,6 @@ struct facebook::react::NativeDeviceInfoDisplayMetrics {
91989189
public bool operator==(const facebook::react::NativeDeviceInfoDisplayMetrics& other) const;
91999190
}
92009191

9201-
template <typename P0, typename P1, typename P2, typename P3>
9202-
struct facebook::react::NativeFantomImageResponse {
9203-
public P0 width;
9204-
public P1 height;
9205-
public P2 cacheStatus;
9206-
public P3 errorMessage;
9207-
public bool operator==(const facebook::react::NativeFantomImageResponse& other) const;
9208-
}
9209-
92109192
template <typename P0, typename P1, typename P2, typename P3>
92119193
struct facebook::react::NativeMutationObserverNativeMutationRecord {
92129194
public P0 mutationObserverId;
@@ -9258,14 +9240,6 @@ struct facebook::react::NativeDeviceInfoDeviceInfoConstants {
92589240
public bool operator==(const facebook::react::NativeDeviceInfoDeviceInfoConstants& other) const;
92599241
}
92609242

9261-
template <typename P0, typename P1, typename P2>
9262-
struct facebook::react::NativeFantomScrollOptions {
9263-
public P0 x;
9264-
public P1 y;
9265-
public P2 zoomScale;
9266-
public bool operator==(const facebook::react::NativeFantomScrollOptions& other) const;
9267-
}
9268-
92699243
template <typename P0, typename P1, typename P2>
92709244
struct facebook::react::NativeI18nManagerI18nManagerConstants {
92719245
public P0 doLeftAndRightSwapInRTL;
@@ -9311,13 +9285,6 @@ struct facebook::react::NativeBlobModuleConstants {
93119285
public bool operator==(const facebook::react::NativeBlobModuleConstants& other) const;
93129286
}
93139287

9314-
template <typename P0, typename P1>
9315-
struct facebook::react::NativeFantomRenderFormatOptions {
9316-
public P0 includeRoot;
9317-
public P1 includeLayoutMetrics;
9318-
public bool operator==(const facebook::react::NativeFantomRenderFormatOptions& other) const;
9319-
}
9320-
93219288
template <typename P0, typename P1>
93229289
struct facebook::react::NativeIdleCallbacksIdleDeadline {
93239290
public P0 didTimeout;
@@ -9579,18 +9546,6 @@ class facebook::react::NativeExceptionsManagerCxxSpec : public facebook::react::
95799546
public static constexpr std::string_view kModuleName;
95809547
}
95819548

9582-
template <typename T>
9583-
class facebook::react::NativeFantomCxxSpec : public facebook::react::TurboModule {
9584-
protected NativeFantomCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
9585-
public static constexpr std::string_view kModuleName;
9586-
}
9587-
9588-
template <typename T>
9589-
class facebook::react::NativeFantomTestSpecificMethodsCxxSpec : public facebook::react::TurboModule {
9590-
protected NativeFantomTestSpecificMethodsCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
9591-
public static constexpr std::string_view kModuleName;
9592-
}
9593-
95949549
template <typename T>
95959550
class facebook::react::NativeFileReaderModuleCxxSpec : public facebook::react::TurboModule {
95969551
protected NativeFileReaderModuleCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
@@ -9990,27 +9945,6 @@ struct facebook::react::NativeExceptionsManagerStackFrameBridging {
99909945
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
99919946
}
99929947

9993-
template <typename T>
9994-
struct facebook::react::NativeFantomImageResponseBridging {
9995-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
9996-
public static T types;
9997-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
9998-
}
9999-
10000-
template <typename T>
10001-
struct facebook::react::NativeFantomRenderFormatOptionsBridging {
10002-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10003-
public static T types;
10004-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10005-
}
10006-
10007-
template <typename T>
10008-
struct facebook::react::NativeFantomScrollOptionsBridging {
10009-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10010-
public static T types;
10011-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
10012-
}
10013-
100149948
template <typename T>
100159949
struct facebook::react::NativeI18nManagerI18nManagerConstantsBridging {
100169950
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
@@ -10328,11 +10262,6 @@ struct facebook::react::Bridging<facebook::react::HighResTimeStamp> {
1032810262
public static facebook::react::HighResTimeStamp fromJs(facebook::jsi::Runtime&, const facebook::jsi::Value& jsiValue);
1032910263
}
1033010264

10331-
struct facebook::react::Bridging<facebook::react::NativeFantomNativeEventCategory> {
10332-
public static facebook::jsi::Value toJs(facebook::jsi::Runtime& rt, facebook::react::NativeFantomNativeEventCategory value);
10333-
public static facebook::react::NativeFantomNativeEventCategory fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Value& rawValue);
10334-
}
10335-
1033610265
struct facebook::react::Bridging<facebook::react::NativeIntersectionObserverEntry> : public facebook::react::NativeIntersectionObserverNativeIntersectionObserverEntryBridging<facebook::react::NativeIntersectionObserverEntry> {
1033710266
}
1033810267

scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -9664,15 +9664,6 @@ enum facebook::react::ModalHostViewSupportedOrientations : facebook::react::Moda
96649664
PortraitUpsideDown,
96659665
}
96669666

9667-
enum facebook::react::NativeFantomNativeEventCategory {
9668-
Continuous,
9669-
ContinuousEnd,
9670-
ContinuousStart,
9671-
Discrete,
9672-
Idle,
9673-
Unspecified,
9674-
}
9675-
96769667
enum facebook::react::NullValueStrategy {
96779668
Ignore,
96789669
Override,
@@ -11683,15 +11674,6 @@ struct facebook::react::NativeDeviceInfoDisplayMetrics {
1168311674
public bool operator==(const facebook::react::NativeDeviceInfoDisplayMetrics& other) const;
1168411675
}
1168511676

11686-
template <typename P0, typename P1, typename P2, typename P3>
11687-
struct facebook::react::NativeFantomImageResponse {
11688-
public P0 width;
11689-
public P1 height;
11690-
public P2 cacheStatus;
11691-
public P3 errorMessage;
11692-
public bool operator==(const facebook::react::NativeFantomImageResponse& other) const;
11693-
}
11694-
1169511677
template <typename P0, typename P1, typename P2, typename P3>
1169611678
struct facebook::react::NativeMutationObserverNativeMutationRecord {
1169711679
public P0 mutationObserverId;
@@ -11743,14 +11725,6 @@ struct facebook::react::NativeDeviceInfoDeviceInfoConstants {
1174311725
public bool operator==(const facebook::react::NativeDeviceInfoDeviceInfoConstants& other) const;
1174411726
}
1174511727

11746-
template <typename P0, typename P1, typename P2>
11747-
struct facebook::react::NativeFantomScrollOptions {
11748-
public P0 x;
11749-
public P1 y;
11750-
public P2 zoomScale;
11751-
public bool operator==(const facebook::react::NativeFantomScrollOptions& other) const;
11752-
}
11753-
1175411728
template <typename P0, typename P1, typename P2>
1175511729
struct facebook::react::NativeI18nManagerI18nManagerConstants {
1175611730
public P0 doLeftAndRightSwapInRTL;
@@ -11796,13 +11770,6 @@ struct facebook::react::NativeBlobModuleConstants {
1179611770
public bool operator==(const facebook::react::NativeBlobModuleConstants& other) const;
1179711771
}
1179811772

11799-
template <typename P0, typename P1>
11800-
struct facebook::react::NativeFantomRenderFormatOptions {
11801-
public P0 includeRoot;
11802-
public P1 includeLayoutMetrics;
11803-
public bool operator==(const facebook::react::NativeFantomRenderFormatOptions& other) const;
11804-
}
11805-
1180611773
template <typename P0, typename P1>
1180711774
struct facebook::react::NativeIdleCallbacksIdleDeadline {
1180811775
public P0 didTimeout;
@@ -12046,18 +12013,6 @@ class facebook::react::NativeExceptionsManagerCxxSpec : public facebook::react::
1204612013
public static constexpr std::string_view kModuleName;
1204712014
}
1204812015

12049-
template <typename T>
12050-
class facebook::react::NativeFantomCxxSpec : public facebook::react::TurboModule {
12051-
protected NativeFantomCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
12052-
public static constexpr std::string_view kModuleName;
12053-
}
12054-
12055-
template <typename T>
12056-
class facebook::react::NativeFantomTestSpecificMethodsCxxSpec : public facebook::react::TurboModule {
12057-
protected NativeFantomTestSpecificMethodsCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
12058-
public static constexpr std::string_view kModuleName;
12059-
}
12060-
1206112016
template <typename T>
1206212017
class facebook::react::NativeFileReaderModuleCxxSpec : public facebook::react::TurboModule {
1206312018
protected NativeFileReaderModuleCxxSpec(std::shared_ptr<facebook::react::CallInvoker> jsInvoker);
@@ -12517,36 +12472,6 @@ struct facebook::react::NativeExceptionsManagerStackFrameBridging {
1251712472
public static std::optional<facebook::jsi::String> fileToJs(facebook::jsi::Runtime& rt, decltype(types.file) value);
1251812473
}
1251912474

12520-
template <typename T>
12521-
struct facebook::react::NativeFantomImageResponseBridging {
12522-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
12523-
public static T types;
12524-
public static double heightToJs(facebook::jsi::Runtime& rt, decltype(types.height) value);
12525-
public static double widthToJs(facebook::jsi::Runtime& rt, decltype(types.width) value);
12526-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
12527-
public static facebook::jsi::String cacheStatusToJs(facebook::jsi::Runtime& rt, decltype(types.cacheStatus) value);
12528-
public static facebook::jsi::String errorMessageToJs(facebook::jsi::Runtime& rt, decltype(types.errorMessage) value);
12529-
}
12530-
12531-
template <typename T>
12532-
struct facebook::react::NativeFantomRenderFormatOptionsBridging {
12533-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
12534-
public static T types;
12535-
public static bool includeLayoutMetricsToJs(facebook::jsi::Runtime& rt, decltype(types.includeLayoutMetrics) value);
12536-
public static bool includeRootToJs(facebook::jsi::Runtime& rt, decltype(types.includeRoot) value);
12537-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
12538-
}
12539-
12540-
template <typename T>
12541-
struct facebook::react::NativeFantomScrollOptionsBridging {
12542-
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
12543-
public static T types;
12544-
public static double xToJs(facebook::jsi::Runtime& rt, decltype(types.x) value);
12545-
public static double yToJs(facebook::jsi::Runtime& rt, decltype(types.y) value);
12546-
public static double zoomScaleToJs(facebook::jsi::Runtime& rt, decltype(types.zoomScale) value);
12547-
public static facebook::jsi::Object toJs(facebook::jsi::Runtime& rt, const T& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
12548-
}
12549-
1255012475
template <typename T>
1255112476
struct facebook::react::NativeI18nManagerI18nManagerConstantsBridging {
1255212477
public static T fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Object& value, const std::shared_ptr<facebook::react::CallInvoker>& jsInvoker);
@@ -12959,11 +12884,6 @@ struct facebook::react::Bridging<facebook::react::HighResTimeStamp> {
1295912884
public static facebook::react::HighResTimeStamp fromJs(facebook::jsi::Runtime&, const facebook::jsi::Value& jsiValue);
1296012885
}
1296112886

12962-
struct facebook::react::Bridging<facebook::react::NativeFantomNativeEventCategory> {
12963-
public static facebook::jsi::Value toJs(facebook::jsi::Runtime& rt, facebook::react::NativeFantomNativeEventCategory value);
12964-
public static facebook::react::NativeFantomNativeEventCategory fromJs(facebook::jsi::Runtime& rt, const facebook::jsi::Value& rawValue);
12965-
}
12966-
1296712887
struct facebook::react::Bridging<facebook::react::NativeIntersectionObserverEntry> : public facebook::react::NativeIntersectionObserverNativeIntersectionObserverEntryBridging<facebook::react::NativeIntersectionObserverEntry> {
1296812888
}
1296912889

0 commit comments

Comments
 (0)