Update API functions
* Rename 'jerry_api_' prefix to 'jerry_' * Fix minor style issues * Group the API functions and add comment to each group * Move engine behaviour related funtions to 'jerry.h' JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -138,15 +138,15 @@ typedef enum
|
||||
} jsp_status_t;
|
||||
|
||||
/* Note: source must be a valid UTF-8 string */
|
||||
extern jsp_status_t parser_parse_script (const jerry_api_char_t *,
|
||||
extern jsp_status_t parser_parse_script (const jerry_char_t *,
|
||||
size_t,
|
||||
ecma_compiled_code_t **,
|
||||
jerry_api_object_t **);
|
||||
extern jsp_status_t parser_parse_eval (const jerry_api_char_t *,
|
||||
jerry_object_t **);
|
||||
extern jsp_status_t parser_parse_eval (const jerry_char_t *,
|
||||
size_t,
|
||||
bool,
|
||||
ecma_compiled_code_t **,
|
||||
jerry_api_object_t **);
|
||||
jerry_object_t **);
|
||||
|
||||
const char *parser_error_to_string (parser_error_t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user