mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6991e28653
Summary: `NativeExceptionsManager.js` contains the JS spec for this native module. This diff moves the objc code to CoreModules (since it's the only directory that supports TM at the moment) and makes it conform to the spec. NOTE: I will update podfiles after this diff is reviewed, before I land. Adding those generated changes makes it really hard to review. Reviewed By: RSNara Differential Revision: D16812212 fbshipit-source-id: 38b6e9a20ce15e7e9995df34493b37ed7adb2911
43 lines
904 B
Objective-C
43 lines
904 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 RCTExceptionsManagerCls(void);
|
|
Class RCTImageLoaderCls(void);
|
|
Class RCTPlatformCls(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif // RN_DISABLE_OSS_PLUGIN_HEADER
|