From 0e129f5fede2aac82875a3397466024836e8994d Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 23 Aug 2016 23:08:35 +0100 Subject: [PATCH] EVM-C: demote EVM_EXCEPTION to only be used with evm_query_fn --- include/evm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/evm.h b/include/evm.h index 25558fe..9a33490 100644 --- a/include/evm.h +++ b/include/evm.h @@ -59,9 +59,6 @@ struct evm_hash256 { }; }; - -#define EVM_EXCEPTION INT64_MIN ///< The execution ended with an exception. - /// The outcome of an execution. enum evm_result_outcome { EVM_RESULT_SUCCESS = 0, @@ -220,6 +217,9 @@ enum evm_call_kind { 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. /// /// @param env Pointer to execution environment managed by the host