Skip to content

fix: Remove &JSContext from JSObject::call_as_function#14

Merged
waywardmonkeys merged 1 commit into
endoli:mainfrom
Hywan:fix-object-call-as-function-is-ctx-free
Oct 5, 2023
Merged

fix: Remove &JSContext from JSObject::call_as_function#14
waywardmonkeys merged 1 commit into
endoli:mainfrom
Hywan:fix-object-call-as-function-is-ctx-free

Conversation

@Hywan
Copy link
Copy Markdown
Contributor

@Hywan Hywan commented Oct 5, 2023

This patch removes the &JSContext argument from
JSObject::call_as_function. All the other methods adopt this style, and I believe it makes total sense.

It is a follow up #13. Sorry for the extra work.

This patch removes the `&JSContext` argument from
`JSObject::call_as_function`. All the other methods adopt this style,
and I believe it makes total sense.
@Hywan Hywan force-pushed the fix-object-call-as-function-is-ctx-free branch from 1e0a3cf to 55f2867 Compare October 5, 2023 06:53
Comment thread src/object.rs
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

Successfully merging this pull request may close these issues.

2 participants