mirror of
https://github.com/status-im/evmc.git
synced 2025-02-23 08:28:15 +00:00
EVM-C: demote EVM_EXCEPTION to only be used with evm_query_fn
This commit is contained in:
parent
abc914afd2
commit
0e129f5fed
@ -59,9 +59,6 @@ struct evm_hash256 {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define EVM_EXCEPTION INT64_MIN ///< The execution ended with an exception.
|
|
||||||
|
|
||||||
/// The outcome of an execution.
|
/// The outcome of an execution.
|
||||||
enum evm_result_outcome {
|
enum evm_result_outcome {
|
||||||
EVM_RESULT_SUCCESS = 0,
|
EVM_RESULT_SUCCESS = 0,
|
||||||
@ -220,6 +217,9 @@ enum evm_call_kind {
|
|||||||
EVM_CREATE = 3 ///< Request CREATE. Semantic of some params changes.
|
EVM_CREATE = 3 ///< Request CREATE. Semantic of some params changes.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// This is used as a result code with evm_call_fn.
|
||||||
|
#define EVM_EXCEPTION INT64_MIN ///< The execution ended with an exception.
|
||||||
|
|
||||||
/// Pointer to the callback function supporting EVM calls.
|
/// Pointer to the callback function supporting EVM calls.
|
||||||
///
|
///
|
||||||
/// @param env Pointer to execution environment managed by the host
|
/// @param env Pointer to execution environment managed by the host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user