mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Implement arithmetic opcodes
This commit is contained in:
parent
6092d94c1d
commit
4b9032209a
5 changed files with 208 additions and 2 deletions
|
|
@ -94,9 +94,11 @@ typedef enum ScriptError_t
|
|||
SCRIPT_ERR_SHA2_CONTEXT_WRITE,
|
||||
SCRIPT_ERR_INTROSPECT_CONTEXT_UNAVAILABLE,
|
||||
SCRIPT_ERR_INTROSPECT_INDEX_OUT_OF_BOUNDS,
|
||||
SCRIPT_ERR_EXPECTED_8BYTES,
|
||||
SCRIPT_ERR_ARITHMETIC64
|
||||
} ScriptError;
|
||||
|
||||
#define SCRIPT_ERR_LAST SCRIPT_ERR_ERROR_COUNT
|
||||
#define SCRIPT_ERR_LAST SCRIPT_ERR_ARITHMETIC64
|
||||
|
||||
std::string ScriptErrorString(const ScriptError error);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue