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

Fix comment of JS_NewClassID #784

Merged

Conversation

gschwind
Copy link
Contributor

@gschwind gschwind commented Jan 4, 2025

The comment of the function JS_NewClassID is wrong. This patch fix it.

Best regards

@@ -3519,7 +3519,7 @@ static inline BOOL JS_IsEmptyString(JSValue v)

/* JSClass support */

/* a new class ID is allocated if *pclass_id != 0 */
/* a new class ID is allocated if *pclass_id == 0, otherwise *pclass_id is left inchanged */
Copy link
Contributor

Choose a reason for hiding this comment

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

"unchanged"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, updated

@gschwind gschwind force-pushed the pr-fix-js-newclassid-comment branch from 59b77d6 to 68e94ee Compare January 4, 2025 15:13
@bnoordhuis bnoordhuis merged commit 1b957f7 into quickjs-ng:master Jan 5, 2025
59 checks passed
@gschwind gschwind deleted the pr-fix-js-newclassid-comment branch January 6, 2025 13:42
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