Export instances with name from this module instance.
| 316 | |
| 317 | /// Export instances with name from this module instance. |
| 318 | void exportFunction(std::string_view Name, uint32_t Idx) { |
| 319 | std::unique_lock Lock(Mutex); |
| 320 | ExpFuncs.insert_or_assign(std::string(Name), FuncInsts[Idx]); |
| 321 | } |
| 322 | void exportTable(std::string_view Name, uint32_t Idx) { |
| 323 | std::unique_lock Lock(Mutex); |
| 324 | ExpTables.insert_or_assign(std::string(Name), TabInsts[Idx]); |
no outgoing calls
no test coverage detected