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

Method isHostFunction

include/runtime/instance/function.h:84–86  ·  view source on GitHub ↗

Check whether this is a host function.

Source from the content-addressed store, hash-verified

82
83 /// Check whether this is a host function.
84 bool isHostFunction() const noexcept {
85 return std::holds_alternative<std::unique_ptr<HostFunctionBase>>(Data);
86 }
87
88 /// Getter for function type.
89 const AST::FunctionType &getFuncType() const noexcept { return FuncType; }

Callers 15

enterFunctionMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64