Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WasmEdge/WasmEdge
/ setDefValType
Method
setDefValType
include/ast/component/type.h:480–482 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
478
return *std::get_if<DefValType>(&Type);
479
}
480
void setDefValType(DefValType &&FT) noexcept {
481
Type.emplace<DefValType>(std::move(FT));
482
}
483
484
const FuncType &getFuncType() const noexcept {
485
return *std::get_if<FuncType>(&Type);
Callers
2
loadType
Method · 0.80
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64