Add reference support for native pointers. (#4615)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2021-04-19 14:47:17 +02:00
committed by GitHub
parent cc1a263657
commit ec3ed65b56
23 changed files with 681 additions and 150 deletions
@@ -38,6 +38,8 @@ native_free_cb (void *native_p, /**< native pointer */
static const jerry_object_native_info_t native_info =
{
.free_cb = native_free_cb,
.number_of_references = 0,
.offset_of_references = 0,
};
static jerry_value_t