mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove __deprecated_msg from the snapshot (#55780)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55780 Set predefined `__deprecated_msg` to empty string in the `.doxygen.config.template` as doxygen has problem with parsing and produces malformed xml. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D94517576 fbshipit-source-id: eaaf0f66feacb47f725c34a5c93201f5103b92bb
This commit is contained in:
1 parent
47ef0e173f
commit
d680d7001e
5 files changed
+53
-3
No files matched your search
@@ -2443,7 +2443,7 @@ INCLUDE_FILE_PATTERNS =
|
||||
# recursively expanded use the := operator instead of the = operator.
|
||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||
|
||||
PREDEFINED = FOLLY_PACK_PUSH="" FOLLY_PACK_POP="" FOLLY_PACK_ATTR="" __attribute__(x)="" ${PREDEFINED}
|
||||
PREDEFINED = FOLLY_PACK_PUSH="" FOLLY_PACK_POP="" FOLLY_PACK_ATTR="" __attribute__(x)="" __deprecated_msg(x)="" ${PREDEFINED}
|
||||
|
||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||
# tag can be used to specify a list of macro names that should be expanded. The
|
||||
|
||||
@@ -2442,7 +2442,7 @@ INCLUDE_FILE_PATTERNS =
|
||||
# recursively expanded use the := operator instead of the = operator.
|
||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||
|
||||
PREDEFINED = FOLLY_PACK_PUSH="" FOLLY_PACK_POP="" FOLLY_PACK_ATTR="" __attribute__(x)="" ${PREDEFINED}
|
||||
PREDEFINED = FOLLY_PACK_PUSH="" FOLLY_PACK_POP="" FOLLY_PACK_ATTR="" __attribute__(x)="" __deprecated_msg(x)="" ${PREDEFINED}
|
||||
|
||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||
# tag can be used to specify a list of macro names that should be expanded. The
|
||||
|
||||
@@ -2442,7 +2442,7 @@ INCLUDE_FILE_PATTERNS =
|
||||
# recursively expanded use the := operator instead of the = operator.
|
||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||
|
||||
PREDEFINED = FOLLY_PACK_PUSH="" FOLLY_PACK_POP="" FOLLY_PACK_ATTR="" __attribute__(x)=""
|
||||
PREDEFINED = FOLLY_PACK_PUSH="" FOLLY_PACK_POP="" FOLLY_PACK_ATTR="" __attribute__(x)="" __deprecated_msg(x)=""
|
||||
|
||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||
# tag can be used to specify a list of macro names that should be expanded. The
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
interface RCTDeprecatedInterface {
|
||||
public virtual void customBubblingEventTypes();
|
||||
public virtual void legacyTitle();
|
||||
public virtual void normalMethod();
|
||||
public virtual void oldMethod();
|
||||
}
|
||||
|
||||
interface RCTTestInterface {
|
||||
public virtual NSArray * deprecatedMethod:(id param);
|
||||
public virtual void normalMethod:(NSString * name);
|
||||
}
|
||||
|
||||
protocol RCTDeprecatedProtocol {
|
||||
public virtual void deprecatedProtocolMethod();
|
||||
public virtual void normalProtocolMethod();
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
@interface RCTTestInterface
|
||||
|
||||
- (void)normalMethod:(NSString *)name;
|
||||
|
||||
- (NSArray *)deprecatedMethod:(id)param __deprecated_msg("Use newMethod instead.");
|
||||
|
||||
@end
|
||||
|
||||
@interface RCTDeprecatedInterface
|
||||
|
||||
- (void)normalMethod;
|
||||
|
||||
- (void)oldMethod __deprecated_msg("Use newMethod instead.");
|
||||
|
||||
- (void)customBubblingEventTypes __deprecated_msg("Use RCTBubblingEventBlock props instead.");
|
||||
|
||||
- (void)legacyTitle __deprecated_msg("This API will be removed along with the legacy architecture.");
|
||||
|
||||
@end
|
||||
|
||||
@protocol RCTDeprecatedProtocol
|
||||
|
||||
- (void)normalProtocolMethod;
|
||||
|
||||
- (void)deprecatedProtocolMethod __deprecated_msg("Protocol method is deprecated.");
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user