MCPcopy Create free account
hub / github.com/Tencent/Hippy / AddModuleValue

Method AddModuleValue

core/src/scope.cc:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void Scope::AddModuleValue(const std::string& name,
199 std::shared_ptr<CtxValue> value) {
200 module_value_map_.insert({name, value});
201}
202
203void Scope::SaveFunctionData(std::unique_ptr<hippy::napi::FunctionData> data) {
204 function_data_.push_back(std::move(data));

Callers 2

GetInternalBindingFunction · 0.80
RegisterModuleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected