MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / Str_Retain

Function Str_Retain

Source/Wasm/WasmRuntime.cpp:420–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418/* String */
419
420static int64_t Str_Retain(String str) {
421 return r_cast<int64_t>(new std::string(str.rawData(), str.size()));
422}
423static std::unique_ptr<std::string> Str_From(int64_t var) {
424 return std::unique_ptr<std::string>(r_cast<std::string*>(var));
425}

Callers 15

Vec_ToFunction · 0.85
call_stack_pop_strFunction · 0.85
content_loadFunction · 0.85
model_get_clip_fileFunction · 0.85
shadercompiler_compileFunction · 0.85
playable_get_lookFunction · 0.85
playable_get_currentFunction · 0.85
spine_contains_pointFunction · 0.85
spine_intersects_segmentFunction · 0.85

Calls 2

rawDataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected