[][src]Function casperlabs_contract_ffi::contract_api::ret

pub fn ret<T: ToBytes>(t: &T, extra_urefs: &Vec<Key>) -> !

Return t to the host, terminating the currently running module. Note this function is only relevent to contracts stored on chain which return a value to their caller. The return value of a directly deployed contract is never looked at.