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

Function VersionToStr

Source/Wasm/WasmRuntime.cpp:337–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335static std::vector<WasmInstance*> s_wasmInstanceStack;
336
337static std::string VersionToStr(int version) {
338 return std::to_string((version & 0x00ff0000) >> 16) + '.' + std::to_string((version & 0x0000ff00) >> 8) + '.' + std::to_string(version & 0x000000ff);
339}
340
341static WasmInstance* CurrentWasmInstanceOrAssert() {
342 auto* instance = WasmInstance::current();

Callers 2

executeMainFileMethod · 0.85
executeMainFileAsyncMethod · 0.85

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected