mirror of https://github.com/status-im/evmc.git
Merge pull request #163 from ethereum/docs
EVM-C: remove obsolete documentation from evm_execute_fn
This commit is contained in:
commit
a90c62d4c7
|
@ -388,7 +388,7 @@ typedef void (*evm_emit_log_fn)(struct evm_context* context,
|
||||||
/// initialize all expected fields of the structure.
|
/// 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. @see ::evm_message.
|
||||||
typedef void (*evm_call_fn)(struct evm_result* result,
|
typedef void (*evm_call_fn)(struct evm_result* result,
|
||||||
struct evm_context* context,
|
struct evm_context* context,
|
||||||
const struct evm_message* msg);
|
const struct evm_message* msg);
|
||||||
|
@ -474,16 +474,9 @@ enum evm_revision {
|
||||||
/// @param context The pointer to the Host execution context to be passed
|
/// @param context The pointer to the Host execution context to be passed
|
||||||
/// to callback functions. @see ::evm_context.
|
/// to callback functions. @see ::evm_context.
|
||||||
/// @param rev Requested EVM specification revision.
|
/// @param rev Requested EVM specification revision.
|
||||||
/// @param code_hash A hash of the bytecode, usually Keccak. The EVM uses it
|
/// @param msg Call parameters. @see ::evm_message.
|
||||||
/// as the code identifier. A EVM implementation is able to
|
|
||||||
/// hash the code itself if it requires it, but the host
|
|
||||||
/// application usually has the hash already.
|
|
||||||
/// @param code Reference to the bytecode to be executed.
|
/// @param code Reference to the bytecode to be executed.
|
||||||
/// @param code_size The length of the bytecode.
|
/// @param code_size The length of the bytecode.
|
||||||
/// @param gas Gas for execution. Min 0, max 2^63-1.
|
|
||||||
/// @param input Reference to the input data.
|
|
||||||
/// @param input_size The size of the input data.
|
|
||||||
/// @param value Call value.
|
|
||||||
/// @return All execution results.
|
/// @return All execution results.
|
||||||
typedef struct evm_result (*evm_execute_fn)(struct evm_instance* instance,
|
typedef struct evm_result (*evm_execute_fn)(struct evm_instance* instance,
|
||||||
struct evm_context* context,
|
struct evm_context* context,
|
||||||
|
|
Loading…
Reference in New Issue