pub fn add_import(&mut self, ty: TypeId, import: ImportId) -> FuncId {
        self.arena.alloc_with_id(|id| Func {
            id,
            ty,
            kind: FuncKind::Import(import),
        })
    }
/// Create a new externally defined, imported function.
Create a new externally defined, imported function.
Create a new externally defined imported function .
pub fn add_import(&mut self, ty: TypeId, import: ImportId) -> FuncId {
        self.arena.alloc_with_id(|id| Func {
            id,
            ty,
            kind: FuncKind::Import(import),
        })
    }
pub fn add_import ( & mut self , ty : TypeId , import : ImportId ) -> FuncId { self . arena . alloc_with_id ( | id | Func { id , ty , kind : FuncKind :: Import ( import ) , } ) }
Create a new externally defined, imported function.
Create a new externally defined imported function .
&mut self
ty
TypeId
import
ImportId
&mut self
ty
TypeId
import
ImportId