MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / WasmEdge_StringIsEqual

Function WasmEdge_StringIsEqual

lib/api/wasmedge.cpp:797–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795}
796
797WASMEDGE_CAPI_EXPORT bool
798WasmEdge_StringIsEqual(const WasmEdge_String Str1,
799 const WasmEdge_String Str2) noexcept {
800 if (Str1.Length != Str2.Length) {
801 return false;
802 }
803 return std::equal(Str1.Buf, Str1.Buf + Str1.Length, Str2.Buf);
804}
805
806WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_StringCopy(const WasmEdge_String Str,
807 char *Buf,

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68