Expand description
Custom resolution for external references.
StructsΒ§
- Resolved
Import π
FunctionsΒ§
- get_
extern_ πfrom_ import - Get an
ExternTypegiven a import index. - get_
extern_ πtype - Get an
ExternTypegiven an export (and Engine signatures in case is a function). - get_
runtime_ πsize - resolve_
import π - resolve_
imports - This function allows to match all imports of a
ModuleInfowith concrete definitions provided by aResolver, except for tags which are resolved separately throughresolve_tags. - resolve_
tags - This function resolves all tags of a
ModuleInfo. Imported tags are resolved from theStoreObjects, whereas local tags are created and pushed to it. This is because we need every tag to have a uniqueVMSharedTagIndexin theStoreObjects, regardless of whether itβs local or imported, so that exception handling can correctly resolve cross-module exceptions.