Support shared user data for scripts (#4710)
The same data is returned for the script and all of its functions, including those which are created by an eval call. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -137,7 +137,8 @@ restart:
|
||||
ret_value = jerry_exec_snapshot ((uint32_t *) source_p,
|
||||
source_size,
|
||||
source_file_p->snapshot_index,
|
||||
JERRY_SNAPSHOT_EXEC_COPY_DATA);
|
||||
JERRY_SNAPSHOT_EXEC_COPY_DATA,
|
||||
NULL);
|
||||
|
||||
jerry_port_release_source (source_p);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user