[][src]Macro solana_program::entrypoint

macro_rules! entrypoint {
    ($process_instruction:ident) => { ... };
}

Declare the entry point of the program and use the default local heap implementation

Deserialize the program input arguments and call the user defined process_instruction function. Users must call this macro otherwise an entry point for their program will not be created.

If the program defines the feature custom-heap then the default heap implementation will not be included and the program is free to implement their own #[global_allocator]