Skip to main content

translate_function_body

Function translate_function_body 

Source
pub fn translate_function_body(
    target: &TargetSpec,
    module: &[Stmt],
) -> Option<Translation>
Expand description

Find and translate the body of the named function in module.

Returns None only if the function is not found. Returns a Translation with fallback: true if the body cannot be translated.