pub fn ret(value: CLValue) -> ! {
    let (ptr, size, _bytes) = contract_api::to_ptr(value);
    unsafe {
        ext_ffi::casper_ret(ptr, size);
    }
}
/// Returns the given [`CLValue`] to the host, terminating the currently running module.
///
/// Note this function is only relevant to contracts stored on chain which are invoked via
/// [`call_contract`] and can thus return a value to their caller.  The return value of a directly
/// deployed contract is never used.
Returns the given [`CLValue`] to the host, terminating the currently running module.
Note this function is only relevant to contracts stored on chain which are invoked via
[`call_contract`] and can thus return a value to their caller.  The return value of a directly
deployed contract is never used.
Returns the given [ ` CLValue ` ] to the host terminating the currently running module . Note this function is only relevant to contracts stored on chain which are invoked via [ ` call_contract ` ] and can thus return a value to their caller . The return value of a directly deployed contract is never used .
pub fn ret(value: CLValue) -> ! {
    let (ptr, size, _bytes) = contract_api::to_ptr(value);
    unsafe {
        ext_ffi::casper_ret(ptr, size);
    }
}
pub fn ret ( value : CLValue ) -> ! { let ( ptr , size , _bytes ) = contract_api :: to_ptr ( value ) ; unsafe { ext_ffi :: casper_ret ( ptr , size ) ; } }
Returns the given [`CLValue`] to the host, terminating the currently running module.
Returns the given [ ` CLValue ` ] to the host terminating the currently running module .
value
CLValue
value
CLValue