/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v0.80.2
packages/react-native-test-library/ios/OSSLibraryExampleSpecJSI-generated.cpp
26 строк
921 B
Dmitry Rykun
Add react-native-test-library package (#43068)
09 апр 2024, 21:35
09 апр 2024, 21:35
1cb0a33
Код
Авторство
О чём код?
/** * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * * Do not edit this file as changes may cause incorrect behavior and will be lost * once the code is regenerated. * * @generated by codegen project: GenerateModuleCpp.js */ #include "OSSLibraryExampleSpecJSI.h" namespace facebook::react { static jsi::Value __hostFunction_NativeSampleModuleCxxSpecJSI_getRandomNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) { return static_cast<NativeSampleModuleCxxSpecJSI *>(&turboModule)->getRandomNumber( rt ); } NativeSampleModuleCxxSpecJSI::NativeSampleModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule("NativeSampleModule", jsInvoker) { methodMap_["getRandomNumber"] = MethodMetadata {0, __hostFunction_NativeSampleModuleCxxSpecJSI_getRandomNumber}; } } // namespace facebook::react