/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/runtime/hermes/HermesInstance.h
25 строк
655 B
Rubén Norte
Remove legacy ReactNativeConfig abstraction (#47247)
10 дек 2024, 20:34
10 дек 2024, 20:34
6ba8b65
Код
Авторство
О чём код?
/* * 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. */ #pragma once #include <cxxreact/MessageQueueThread.h> #include <hermes/hermes.h> #include <jsi/jsi.h> #include <react/runtime/JSRuntimeFactory.h> namespace facebook::react { class HermesInstance { public: static std::unique_ptr<JSRuntime> createJSRuntime( std::shared_ptr<::hermes::vm::CrashManager> crashManager, std::shared_ptr<MessageQueueThread> msgQueueThread, bool allocInOldGenBeforeTTI) noexcept; }; } // namespace facebook::react