mirror of
https://github.com/status-im/evmc.git
synced 2025-02-22 16:08:22 +00:00
EVM-C: Rename message.input -> message.input_data
This commit is contained in:
parent
b0de6dcd46
commit
e33bdbcabe
@ -78,10 +78,11 @@ struct evm_message {
|
||||
/// The message input data.
|
||||
///
|
||||
/// This MAY be NULL.
|
||||
const uint8_t* input;
|
||||
const uint8_t* input_data;
|
||||
|
||||
/// The size of the message input data.
|
||||
///
|
||||
/// If input is NULL this MUST be 0.
|
||||
/// If input_data is NULL this MUST be 0.
|
||||
size_t input_size;
|
||||
|
||||
/// The optional hash of the code of the destination account.
|
||||
@ -94,8 +95,8 @@ struct evm_message {
|
||||
/// The kind of the call. For zero-depth calls ::EVM_CALL SHOULD be used.
|
||||
enum evm_call_kind kind;
|
||||
|
||||
///< Additional flags modifying the call execution behavior.
|
||||
///< In the current version the only valid values are ::EVM_STATIC or 0.
|
||||
/// Additional flags modifying the call execution behavior.
|
||||
/// In the current version the only valid values are ::EVM_STATIC or 0.
|
||||
uint32_t flags;
|
||||
};
|
||||
|
||||
@ -198,9 +199,7 @@ struct evm_result {
|
||||
/// freed with evm_result::release().
|
||||
///
|
||||
/// This MAY be NULL.
|
||||
///
|
||||
/// @todo Inconsistent name: output_data vs msg.input.
|
||||
uint8_t const* output_data;
|
||||
const uint8_t* output_data;
|
||||
|
||||
/// The size of the output data.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user