File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sdk/pinocchio/src/entrypoint Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ use crate::{
2323} ;
2424use solana_address:: Address ;
2525
26+ use crate :: { BPF_ALIGN_OF_U128 , NON_DUP_MARKER } ;
27+
2628/// Start address of the memory region used for program heap.
2729pub const HEAP_START_ADDRESS : u64 = 0x300000000 ;
2830
@@ -171,8 +173,8 @@ macro_rules! program_entrypoint {
171173 /// Program entrypoint.
172174 #[ no_mangle]
173175 pub unsafe extern "C" fn entrypoint( input: * mut u8 ) -> u64 {
174- const UNINIT : core:: mem:: MaybeUninit <$crate:: AccountView > =
175- core:: mem:: MaybeUninit :: <$crate:: AccountView >:: uninit( ) ;
176+ const UNINIT : core:: mem:: MaybeUninit <$crate:: account_view :: AccountView > =
177+ core:: mem:: MaybeUninit :: <$crate:: account_view :: AccountView >:: uninit( ) ;
176178 // Create an array of uninitialized account infos.
177179 let mut accounts = [ UNINIT ; $maximum] ;
178180
You can’t perform that action at this time.
0 commit comments