Skip to content

Commit 97fe715

Browse files
committed
Tweak docs
1 parent daacb3d commit 97fe715

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

sdk/pinocchio/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,9 @@ pub mod sysvars;
238238

239239
#[deprecated(since = "0.7.0", note = "Use the `entrypoint` module instead")]
240240
pub use entrypoint::lazy as lazy_entrypoint;
241-
// Re-export the `Address` type for downstream use.
241+
// Re-export the `solana_address` for downstream use.
242242
pub use solana_address as address;
243+
// Re-export the `solana_program_error` for downstream use.
243244
pub use solana_program_error as program_error;
244245
pub use solana_program_error::ProgramResult;
245246

sdk/pinocchio/src/syscalls.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,8 @@ define_syscall!(fn sol_memset_(s: *mut u8, c: u8, n: u64));
5858
define_syscall!(fn sol_invoke_signed_c(instruction_addr: *const u8, account_infos_addr: *const u8, account_infos_len: u64, signers_seeds_addr: *const u8, signers_seeds_len: u64) -> u64);
5959
define_syscall!(fn sol_invoke_signed_rust(instruction_addr: *const u8, account_infos_addr: *const u8, account_infos_len: u64, signers_seeds_addr: *const u8, signers_seeds_len: u64) -> u64);
6060
define_syscall!(fn sol_set_return_data(data: *const u8, length: u64));
61-
// Set the return data for the current program.
62-
//
63-
// The `program_id` is a pointer to a [u8; 32] array.
6461
define_syscall!(fn sol_get_return_data(data: *mut u8, length: u64, program_id: *mut u8) -> u64);
6562
define_syscall!(fn sol_log_data(data: *const u8, data_len: u64));
66-
// Set the return data for the current program.
67-
//
68-
// The `program_id` is a pointer to a [u8; 32] array.
6963
define_syscall!(fn sol_get_processed_sibling_instruction(index: u64, meta: *mut ProcessedSiblingInstruction, program_id: *mut u8, data: *mut u8, accounts: *mut AccountMeta) -> u64);
7064
define_syscall!(fn sol_get_stack_height() -> u64);
7165
define_syscall!(fn sol_curve_validate_point(curve_id: u64, point_addr: *const u8, result: *mut u8) -> u64);

0 commit comments

Comments
 (0)