File tree 1 file changed +4
-3
lines changed
sdk/pinocchio/src/entrypoint
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ pub use lazy::{InstructionContext, MaybeAccount};
7
7
#[ cfg( target_os = "solana" ) ]
8
8
pub use alloc:: BumpAllocator ;
9
9
10
- use crate :: { BPF_ALIGN_OF_U128 , NON_DUP_MARKER } ;
11
10
use solana_account_view:: { Account , AccountView , MAX_PERMITTED_DATA_INCREASE } ;
12
11
use solana_address:: Address ;
13
12
13
+ use crate :: { BPF_ALIGN_OF_U128 , NON_DUP_MARKER } ;
14
+
14
15
/// Start address of the memory region used for program heap.
15
16
pub const HEAP_START_ADDRESS : u64 = 0x300000000 ;
16
17
@@ -113,8 +114,8 @@ macro_rules! program_entrypoint {
113
114
/// Program entrypoint.
114
115
#[ no_mangle]
115
116
pub unsafe extern "C" fn entrypoint( input: * mut u8 ) -> u64 {
116
- const UNINIT : core:: mem:: MaybeUninit <$crate:: AccountView > =
117
- core:: mem:: MaybeUninit :: <$crate:: AccountView >:: uninit( ) ;
117
+ const UNINIT : core:: mem:: MaybeUninit <$crate:: account_view :: AccountView > =
118
+ core:: mem:: MaybeUninit :: <$crate:: account_view :: AccountView >:: uninit( ) ;
118
119
// Create an array of uninitialized account infos.
119
120
let mut accounts = [ UNINIT ; $maximum] ;
120
121
You can’t perform that action at this time.
0 commit comments