solana_program::program

Function get_return_data

Source
pub fn get_return_data() -> Option<(Pubkey, Vec<u8>)>
Expand description

Like solana_cpi::get_return_data, but with support for overwriting the sol_get_return_data syscall stub.