Merge pull request #144 from ethereum/fixes

Fixes
This commit is contained in:
Paweł Bylica 2017-12-12 20:50:47 +01:00 committed by GitHub
commit ebd761ee69
1 changed files with 4 additions and 2 deletions

View File

@ -125,7 +125,7 @@ struct evm_result; ///< Forward declaration.
/// @param result The execution result which resource are to be released. The /// @param result The execution result which resource are to be released. The
/// result itself it not modified by this function, but becomes /// result itself it not modified by this function, but becomes
/// invalid and user should discard it as well. /// invalid and user should discard it as well.
typedef void (*evm_release_result_fn)(struct evm_result const* result); typedef void (*evm_release_result_fn)(const struct evm_result* result);
/// The EVM code execution result. /// The EVM code execution result.
struct evm_result { struct evm_result {
@ -322,7 +322,9 @@ typedef void (*evm_log_fn)(struct evm_context* context,
/// Pointer to the callback function supporting EVM calls. /// Pointer to the callback function supporting EVM calls.
/// ///
/// @param[out] result Call result. /// @param[out] result The result of the call. The result object is not
/// initialized by the EVM, the Client MUST correctly
/// initialize all expected fields of the structure.
/// @param context The pointer to the Host execution context. /// @param context The pointer to the Host execution context.
/// @see ::evm_context. /// @see ::evm_context.
/// @param msg Call parameters. /// @param msg Call parameters.