mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
394c9a55be
Summary: It was added due to missing TM support in .xcodeproj, but since .xcodeproj has been deprecated, we don't need this flag anymore. Relevant efforts: https://github.com/facebook/react-native/pull/25619 https://github.com/facebook/react-native/pull/25393 Reviewed By: hramos Differential Revision: D16231698 fbshipit-source-id: b3276d1fc64394624e5110f2ecd31acc2bb2d240
33 lines
1012 B
Objective-C
33 lines
1012 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.
|
|
*
|
|
*/
|
|
|
|
#import <ReactCommon/RCTTurboModule.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
/**
|
|
* Provide the TurboModule class for the given name.
|
|
*/
|
|
Class RNTesterTurboModuleClassProvider(const char *name);
|
|
|
|
/**
|
|
* Provide a pure C++ instance of a TurboModule, specific to this app.
|
|
*/
|
|
std::shared_ptr<TurboModule> RNTesterTurboModuleProvider(const std::string &name, std::shared_ptr<JSCallInvoker> jsInvoker);
|
|
|
|
/**
|
|
* Provide an instance of a ObjCTurboModule, given the ObjC instance, specific to this app.
|
|
*/
|
|
std::shared_ptr<TurboModule> RNTesterTurboModuleProvider(const std::string &name,
|
|
id<RCTTurboModule> instance,
|
|
std::shared_ptr<JSCallInvoker> jsInvoker);
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|