Skip to content

Expose JS_NewCFunction3 #877

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
Feb 3, 2025
Merged

Conversation

bptato
Copy link
Contributor

@bptato bptato commented Feb 2, 2025

Useful if you want to set the prototype of a constructor to its parent constructor when creating a custom type hierarchy.

(e.g. in browsers, Text.__proto__ == CharacterData, and to implement this you can pass the CharacterData constructor as proto_val.)

Useful if you want to set the prototype of a constructor to its parent
constructor when creating a custom type hierarchy.

(e.g. in browsers, `Text.__proto__` == `CharacterData`, and to implement
this you can pass the `CharacterData` constructor as `proto_val`.)
@bnoordhuis bnoordhuis merged commit 92961d7 into quickjs-ng:master Feb 3, 2025
61 checks passed
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.

3 participants