MCPcopy Create free account
hub / github.com/ErickWendel/myownnode / SetEmptyString

Method SetEmptyString

preclass/capivara/v8/include/v8-function-callback.h:349–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347
348template <typename T>
349void ReturnValue<T>::SetEmptyString() {
350 static_assert(std::is_base_of<T, String>::value, "type check");
351 using I = internal::Internals;
352 *value_ = *I::GetRoot(GetIsolate(), I::kEmptyStringRootIndex);
353}
354
355template <typename T>
356Isolate* ReturnValue<T>::GetIsolate() const {

Callers

nothing calls this directly

Calls 1

GetIsolateFunction · 0.70

Tested by

no test coverage detected