Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add define identifying NG to quickjs.h #881

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Add define identifying NG to quickjs.h #881

merged 1 commit into from
Feb 3, 2025

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Feb 3, 2025

No description provided.

@saghul
Copy link
Contributor Author

saghul commented Feb 3, 2025

Yes, one could check for our QJS_VERSION_* defined, but this is more explicit.

@bnoordhuis
Copy link
Contributor

What is it for? For feature-detecting new APIs you need to use QJS_VERSION_{MAJOR,MINOR} anyway.

@saghul
Copy link
Contributor Author

saghul commented Feb 3, 2025

My thinking is that it could be useful for projects that allow being built against both flavours. It should be possible with minimal changes, I think.

@saghul saghul merged commit 1486c85 into master Feb 3, 2025
61 checks passed
@saghul saghul deleted the ng-header-marker branch February 3, 2025 10:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants