MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / TakeBasic

Method TakeBasic

tests/runtime/strings/test.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void exports::test::strings::to_test::TakeBasic(wit::string str) {
14 assert_str(str.get_view(), "latin utf16");
15}
16
17wit::string exports::test::strings::to_test::ReturnUnicode() {
18 // return a non-zero address (follows cabi_realloc logic)

Callers 2

RunFunction · 0.45
RunMethod · 0.45

Calls 2

assert_strFunction · 0.70
get_viewMethod · 0.45

Tested by

no test coverage detected