Remove const qualifier from syscall out-parameters (#17382)

This commit is contained in:
Christian Machacek 2021-05-21 21:09:22 +02:00 committed by GitHub
parent 3f3324231d
commit 8758e9ed82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -436,7 +436,7 @@ typedef struct {
uint64_t sol_sha256(
const SolBytes *bytes,
int bytes_len,
const uint8_t *result
uint8_t *result
);
/**
@ -454,7 +454,7 @@ uint64_t sol_sha256(
uint64_t sol_keccak256(
const SolBytes *bytes,
int bytes_len,
const uint8_t *result
uint8_t *result
);
/**
@ -506,7 +506,7 @@ uint64_t sol_create_program_address(
const SolSignerSeed *seeds,
int seeds_len,
const SolPubkey *program_id,
const SolPubkey *program_address
SolPubkey *program_address
);
/**
@ -522,8 +522,8 @@ uint64_t sol_try_find_program_address(
const SolSignerSeed *seeds,
int seeds_len,
const SolPubkey *program_id,
const SolPubkey *program_address,
const uint8_t *bump_seed
SolPubkey *program_address,
uint8_t *bump_seed
);
/**