Function translate_function

Source
pub fn translate_function<M>(
    session: &mut CodeGenSession<'_, M>,
    sinks: Sinks<'_>,
    func_idx: u32,
    body: FunctionBody<'_>,
) -> Result<(), Error>
where M: ModuleContext, for<'any> &'any M::Signature: Into<OpSig>,