Skip to content

Conversation

@echoptic
Copy link
Contributor

This closes #1153 and only changes one function in the public api. I wasn't sure about changing other functions because they are not public and it requires a lot of changes I'm not sure about.
For example functions that are created with JS_CFUNC_MAGIC_DEF and JS_CGETSET_MAGIC_DEF sometimes use the field as class_id and sometimes as magic and I think it would be confusing to make the field be JSClassID.

@bnoordhuis bnoordhuis merged commit 11f44e2 into quickjs-ng:master Sep 24, 2025
127 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.

Inconsistent class_id types

3 participants