react-native-get-pixel_edit/node_modules/react-native/ReactCommon/hermes/inspector-modern/RuntimeAdapter.cpp
2025-07-09 11:41:52 +09:00

31 lines
710 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.
*/
#include "RuntimeAdapter.h"
namespace facebook {
namespace hermes {
namespace inspector_modern {
RuntimeAdapter::~RuntimeAdapter() = default;
void RuntimeAdapter::tickleJs() {}
SharedRuntimeAdapter::SharedRuntimeAdapter(
std::shared_ptr<HermesRuntime> runtime)
: runtime_(std::move(runtime)) {}
SharedRuntimeAdapter::~SharedRuntimeAdapter() = default;
HermesRuntime &SharedRuntimeAdapter::getRuntime() {
return *runtime_;
}
} // namespace inspector_modern
} // namespace hermes
} // namespace facebook