EVM-C: Change #define EVM_CALL_FAILURE to static const global variable

This commit is contained in:
Paweł Bylica 2016-08-25 12:40:16 +02:00
parent ff8847670d
commit b889ea4daa
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ 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_CALL_FAILURE INT64_MIN ///< The execution ended with a failure.
/// The flag indicating call failure in evm_call_fn().
static const int64_t EVM_CALL_FAILURE = INT64_MIN;
/// Pointer to the callback function supporting EVM calls.
///