Implementing API for associating native handle (uintptr_t) values with JS objects.
This commit is contained in:
@@ -136,6 +136,12 @@ bool jerry_api_set_object_field_value (jerry_api_object_t *object_p,
|
||||
const char *field_name_p,
|
||||
const jerry_api_value_t *field_value_p);
|
||||
|
||||
extern EXTERN_C
|
||||
bool jerry_api_get_object_native_handle (jerry_api_object_t *object_p, uintptr_t* out_handle_p);
|
||||
|
||||
extern EXTERN_C
|
||||
void jerry_api_set_object_native_handle (jerry_api_object_t *object_p, uintptr_t handle);
|
||||
|
||||
extern EXTERN_C
|
||||
bool jerry_api_call_function (jerry_api_object_t *function_object_p,
|
||||
jerry_api_object_t *this_arg_p,
|
||||
|
||||
Reference in New Issue
Block a user