solana_program::sysvar::instructions

Function store_current_index

Source
pub fn store_current_index(data: &mut [u8], instruction_index: u16)
Expand description

Store the current Instruction’s index in the instructions sysvar data.