Skip to content
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

Revisit need for napi_set_function_name #78

Closed
boingoing opened this issue Feb 1, 2017 · 2 comments
Closed

Revisit need for napi_set_function_name #78

boingoing opened this issue Feb 1, 2017 · 2 comments
Assignees

Comments

@boingoing
Copy link

ChakraCore (and possibly other engines) do not support changing the function name after creating a function. Let's add an optional name parameter to napi_create_function instead. If it's possible, can we also remove napi_set_function_name?

@mhdawson
Copy link
Member

mhdawson commented Feb 2, 2017

@boingoing do we know if any of the existing ports or examples use napi_set_function_name ?
I agree that it should not be part of the API if it is not possible to support across engines.

@boingoing
Copy link
Author

Resolved by #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants