mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e883197807
Summary: A reland of https://github.com/facebook/react-native/commit/f26ffbf5618d88b93fb84dd560303fe2e215cb2d Reviewed By: sammy-SC Differential Revision: D16091073 fbshipit-source-id: 09660ba987c3035333eac55e6bb94373fad9252b
37 lines
714 B
Objective-C
37 lines
714 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.
|
|
*/
|
|
|
|
#ifdef RN_DISABLE_OSS_PLUGIN_HEADER
|
|
|
|
// FB Internal: Plugins.h is autogenerated by the build system.
|
|
#import "Plugins.h"
|
|
|
|
#else
|
|
|
|
//OSS-compatibility layer: manually define these for github.
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wreturn-type-c-linkage"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// NOTE: Sync these with FB internal version.
|
|
|
|
Class RCTPlatformCls(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif // RN_DISABLE_OSS_PLUGIN_HEADER
|