Merge pull request #152 from ethereum/evmc-docs

EVM-C: output_data MAY be NULL
This commit is contained in:
Alex Beregszaszi 2018-01-16 10:18:33 +00:00 committed by GitHub
commit 98cd6b098e
1 changed files with 4 additions and 0 deletions

View File

@ -192,10 +192,14 @@ struct evm_result {
/// The memory containing the output data is owned by EVM and has to be
/// freed with evm_result::release().
///
/// This MAY be NULL.
///
/// @todo Inconsistent name: output_data vs msg.input.
uint8_t const* output_data;
/// The size of the output data.
///
/// If output_data is NULL this MUST be 0.
size_t output_size;
/// The pointer to a function releasing all resources associated with