mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3337add547
Summary: Avoid unnecessary string copies Changelog: [internal] Reviewed By: nlutsenko Differential Revision: D36312750 fbshipit-source-id: caf0985f988eb497de3be3c0526809593b01a9e2
33 lines
811 B
C++
33 lines
811 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
// NOTE: This entire file should be codegen'ed.
|
|
|
|
#pragma once
|
|
|
|
#include <ReactCommon/JavaTurboModule.h>
|
|
#include <ReactCommon/TurboModule.h>
|
|
#include <fbjni/fbjni.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
/**
|
|
* C++ class for module 'SampleTurboModule'
|
|
*/
|
|
class JSI_EXPORT NativeSampleTurboModuleSpecJSI : public JavaTurboModule {
|
|
public:
|
|
NativeSampleTurboModuleSpecJSI(const JavaTurboModule::InitParams ¶ms);
|
|
};
|
|
|
|
std::shared_ptr<TurboModule> SampleTurboModuleSpec_ModuleProvider(
|
|
const std::string &moduleName,
|
|
const JavaTurboModule::InitParams ¶ms);
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|