Macro solana_sdk::declare_builtin
source · macro_rules! declare_builtin { ($bs58_string:expr, $name:ident, $entrypoint:expr) => { ... }; ($bs58_string:expr, $name:ident, $entrypoint:expr, $id:path) => { ... }; }
Expand description
Convenience macro to declare a built-in program.
bs58_string: bs58 string representation the program’s id
name: Name of the program
entrypoint: Program’s entrypoint, must be of type Entrypoint
id: Path to the program id access function, used if this macro is not
called in src/lib