Interface jerry_api_eval for performing eval operation.
This commit is contained in:
+3
-12
@@ -19,12 +19,13 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "jerry-api.h"
|
||||
#include "jerry-extension.h"
|
||||
|
||||
/** \addtogroup jerry Jerry engine interface
|
||||
* @{
|
||||
*/
|
||||
|
||||
#include "jerry-extension.h"
|
||||
|
||||
/**
|
||||
* Jerry flags
|
||||
*/
|
||||
@@ -37,16 +38,6 @@ typedef uint32_t jerry_flag_t;
|
||||
#define JERRY_FLAG_PARSE_ONLY (1 << 2) /**< parse only, prevents script execution (only for testing)
|
||||
* FIXME: Remove. */
|
||||
|
||||
/**
|
||||
* Jerry completion codes
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
JERRY_COMPLETION_CODE_OK = 0, /**< successful completion */
|
||||
JERRY_COMPLETION_CODE_UNHANDLED_EXCEPTION = 1, /**< exception occured and it was not handled */
|
||||
JERRY_COMPLETION_CODE_FAILED_ASSERTION_IN_SCRIPT = 2 /**< assertion, performed by script, failed */
|
||||
} jerry_completion_code_t;
|
||||
|
||||
/**
|
||||
* Error codes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user