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

Method setExport

include/ast/component/alias.h:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 return *std::get_if<std::pair<uint32_t, std::string>>(&Target);
69 }
70 void setExport(const uint32_t Idx, std::string_view Name) noexcept {
71 Target.emplace<std::pair<uint32_t, std::string>>(Idx, Name);
72 }
73
74 const std::pair<uint32_t, uint32_t> &getOuter() const noexcept {
75 return *std::get_if<std::pair<uint32_t, uint32_t>>(&Target);

Callers 3

loadAliasMethod · 0.45
loadDeclMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36