Function rustc_trans::trans::foreign::trans_native_callExperimental [-]  [+] [src]

pub fn trans_native_call<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, callee_ty: Ty<'tcx>, llfn: ValueRef, llretptr: ValueRef, llargs_rust: &[ValueRef], passed_arg_tys: Vec<Ty<'tcx>>) -> Block<'blk, 'tcx>

Prepares a call to a native function. This requires adapting from the Rust argument passing rules to the native rules.

Parameters