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

Method TakeBasic

tests/runtime/strings/test-symmetric.cpp:16–18  ·  view source on GitHub ↗

new API: Identical for guest import and export

Source from the content-addressed store, hash-verified

14
15// new API: Identical for guest import and export
16void exports::test::strings::to_test::TakeBasic(std::string_view str) {
17 assert_str(str, "latin utf16");
18}
19
20wit::string exports::test::strings::to_test::ReturnUnicode() {
21 // return a non-zero address (follows cabi_realloc logic)

Callers

nothing calls this directly

Calls 1

assert_strFunction · 0.70

Tested by

no test coverage detected