EVM-C: Rename message.input -> message.input_data

This commit is contained in:
Paweł Bylica 2018-01-23 14:21:56 +01:00
parent b0de6dcd46
commit e33bdbcabe

View File

@ -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.
///