mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
987e5197f0
Summary: This adds internal script to automatically sync the plugins definition. For github consumption, the CoreModulesPlugins.* will stay checked in, nothing change. Reviewed By: RSNara Differential Revision: D16102352 fbshipit-source-id: 8f74ea9dde046183ae620682fd7e181b4cc95a94
41 lines
836 B
Objective-C
41 lines
836 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: Plugins.h is autogenerated by the build system.
|
|
#import "Plugins.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 RCTCoreModulesClassProvider(const char *name);
|
|
|
|
// Lookup functions
|
|
Class RCTPlatformCls(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif // RN_DISABLE_OSS_PLUGIN_HEADER
|