pub(super) fn gen_ffi_function(
    sig: &FnSignature,
    ar: &Option<AsyncRuntime>,
    udl_mode: bool
) -> Result<TokenStream>
Expand description

Generate a scaffolding function

pre_fn_call is the statements that we should execute before the rust call rust_fn is the Rust function to call.