/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/jsitooling/react/runtime/JSRuntimeFactoryCAPI.h
26 строк
491 B
Oskar Kwaśniewski
feat: js runtime switching C API for Swift (#49489)
26 фев 2025, 21:56
26 фев 2025, 21:56
a6607c0
Код
Авторство
О чём код?
/* * 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 #ifdef __cplusplus extern "C" { #endif /** JSRuntimeFactory pointer representation in C. */ typedef void* JSRuntimeFactoryRef; /** Function used to destroy instance of JSRuntimeFactory. */ void js_runtime_factory_destroy(JSRuntimeFactoryRef factory); #ifdef __cplusplus } #endif