Type Definition solana_sdk::process_instruction::LoaderEntrypoint [−][src]
pub type LoaderEntrypoint = unsafe extern "C" fn(program_id: &Pubkey, keyed_accounts: &[KeyedAccount<'_>], instruction_data: &[u8], invoke_context: &dyn InvokeContext) -> Result<(), InstructionError>;
Expand description
Prototype of a native loader entry point
program_id: Program ID of the currently executing program keyed_accounts: Accounts passed as part of the instruction instruction_data: Instruction data invoke_context: Invocation context