Add arithmetic operations support for the API (#3249)
This patch extends the jerry_binary_operation_t list with arithmetic operations. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -327,6 +327,11 @@ typedef enum
|
||||
JERRY_BIN_OP_GREATER, /**< greater relation (>) */
|
||||
JERRY_BIN_OP_GREATER_EQUAL, /**< greater or equal relation (>=)*/
|
||||
JERRY_BIN_OP_INSTANCEOF, /**< instanceof operation */
|
||||
JERRY_BIN_OP_ADD, /**< addition operator (+) */
|
||||
JERRY_BIN_OP_SUB, /**< subtraction operator (-) */
|
||||
JERRY_BIN_OP_MUL, /**< multiplication operator (*) */
|
||||
JERRY_BIN_OP_DIV, /**< division operator (/) */
|
||||
JERRY_BIN_OP_REM, /**< remainder operator (%) */
|
||||
} jerry_binary_operation_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user