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

Method ReturnUnicode

tests/runtime/strings/test.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17wit::string exports::test::strings::to_test::ReturnUnicode() {
18 // return a non-zero address (follows cabi_realloc logic)
19 return wit::string::from_view("🚀🚀🚀 𠈄𓀀");
20}
21
22wit::string exports::test::strings::to_test::ReturnEmpty() {
23 // return a non-zero address (follows cabi_realloc logic)

Callers 2

RunFunction · 0.45
RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected