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

Method GetString

examples/plugin/get-string/getstring.cpp:28–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26class GetString : public Runtime::HostFunction<GetString> {
27public:
28 GetString(const std::string &String, bool Upper)
29 : String(String), Upper(Upper) {}
30 Expect<void> body(const Runtime::CallingFrame &Frame, uint32_t BufPtr,
31 uint32_t BufLen, uint32_t WrittenPtr) {
32 // Check memory instance from module.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected