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

Function genPath

lib/api/wasmedge.cpp:191–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191inline std::filesystem::path genPath(const char *Path) {
192 return (Path && *Path) ? std::filesystem::absolute(Path)
193 : std::filesystem::path();
194}
195
196// Helper functions for returning a WasmEdge_ValType by WasmEdge::ValType.
197inline WasmEdge_ValType genWasmEdge_ValType(const ValType &T) noexcept {

Calls

no outgoing calls

Tested by

no test coverage detected