Skip to content

Introduce jerry_get_resource_name API function #3236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2019

Conversation

rerobika
Copy link
Member

@rerobika rerobika commented Oct 21, 2019

This new API function adds possibility to query the resource name of the currently executed script (including modules) or a function object.
This patch closes #2170.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu

@rerobika rerobika added feature request Requested feature api Related to the public API jerry-ext Related to the jerry-ext library labels Oct 21, 2019
@rerobika rerobika force-pushed the resource_name branch 2 times, most recently from 5b5482a to c2fa26f Compare October 21, 2019 15:36
@rerobika
Copy link
Member Author

Depends on #3238.

@rerobika rerobika force-pushed the resource_name branch 2 times, most recently from 5cda243 to 9750e16 Compare October 28, 2019 09:27
Copy link
Member

@zherczeg zherczeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rerobika rerobika force-pushed the resource_name branch 4 times, most recently from f4a7d34 to 42b4b91 Compare October 28, 2019 13:39
This new API function adds possibility to query the resource name of the currently executed script (including modules) or a function object.
This patch closes jerryscript-project#2170.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dbatyai dbatyai merged commit 525c35f into jerryscript-project:master Nov 6, 2019
@rerobika rerobika deleted the resource_name branch June 16, 2020 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the public API feature request Requested feature jerry-ext Related to the jerry-ext library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep resource name for function objects?
3 participants