Adding Jerry api for calling function with specific this binding.
This commit is contained in:
@@ -102,6 +102,9 @@ jerry_api_string_t* jerry_api_create_string (const char *v);
|
||||
extern EXTERN_C
|
||||
jerry_api_object_t* jerry_api_create_object (void);
|
||||
|
||||
extern EXTERN_C
|
||||
bool jerry_api_is_function(const jerry_api_object_t *object_p);
|
||||
|
||||
extern EXTERN_C
|
||||
bool jerry_api_add_object_field (jerry_api_object_t *object_p,
|
||||
const char *field_name_p,
|
||||
@@ -121,6 +124,7 @@ bool jerry_api_set_object_field_value (jerry_api_object_t *object_p,
|
||||
|
||||
extern EXTERN_C
|
||||
bool jerry_api_call_function (jerry_api_object_t *function_object_p,
|
||||
jerry_api_object_t *this_arg_p,
|
||||
jerry_api_value_t *retval_p,
|
||||
const jerry_api_value_t args_p [],
|
||||
uint16_t args_count);
|
||||
|
||||
Reference in New Issue
Block a user