[−][src]Function eosio_cdt_sys::get_action
pub unsafe extern "C" fn get_action(
type_: u32,
index: u32,
buff: *mut c_char,
size: usize
) -> c_int
Retrieves the indicated action from the active transaction.
@brief Retrieves the indicated action from the active transaction. @param type - 0 for context free action, 1 for action @param index - the index of the requested action @param buff - output packed buff of the action @param size - amount of buff read, pass 0 to have size returned @return the size of the action, -1 on failure