mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d1c3c2d084
Summary: The Animated native module cannot be converted to a TM because it has perf regressions when used in conjunction with Paper renderer. Instead of fixing these complicated perf issues (which will disappear when Fabric ships this half), temporarily fork the native module. The new fork is converted to a TM, and only used to unblock bridgeless mode testing. Changelog:[Internal] Reviewed By: RSNara Differential Revision: D22651010 fbshipit-source-id: 912123ef38ac8c66025b7bba34a65ec6d98f330d
42 lines
969 B
Objective-C
42 lines
969 B
Objective-C
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @generated by an internal plugin build system
|
|
*/
|
|
|
|
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
|
|
|
// FB Internal: FBRCTAnimationPlugins.h is autogenerated by the build system.
|
|
#import <React/FBRCTAnimationPlugins.h>
|
|
|
|
#else
|
|
|
|
// OSS-compatibility layer
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wreturn-type-c-linkage"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// RCTTurboModuleManagerDelegate should call this to resolve module classes.
|
|
Class RCTAnimationClassProvider(const char *name);
|
|
|
|
// Lookup functions
|
|
Class RCTNativeAnimatedModuleCls(void) __attribute__((used));
|
|
Class RCTNativeAnimatedTurboModuleCls(void) __attribute__((used));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif // RN_DISABLE_OSS_PLUGIN_HEADER
|