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

Method setStartIdx

include/runtime/instance/module.h:442–445  ·  view source on GitHub ↗

Set the start function index and find the function instance.

Source from the content-addressed store, hash-verified

440
441 /// Set the start function index and find the function instance.
442 void setStartIdx(uint32_t Idx) noexcept {
443 std::unique_lock Lock(Mutex);
444 StartFunc = FuncInsts[Idx];
445 }
446
447 /// Get start function address in Store.
448 const FunctionInstance *getStartFunc() const noexcept {

Callers 2

instantiateMethod · 0.80
instantiateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected