Skip to content

Add documentation for promise APIs #280

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 23, 2024
Merged

Conversation

rockwotj
Copy link
Contributor

No description provided.

@rockwotj
Copy link
Contributor Author

Gentle ping on this, is there anything needed here to merge?

@saghul saghul merged commit d168361 into quickjs-ng:master Feb 23, 2024
@saghul
Copy link
Contributor

saghul commented Feb 23, 2024

Thanks for the reminder!

@chqrlie
Copy link
Collaborator

chqrlie commented Feb 24, 2024

Note however that the definition should be parenthesized:

#define JS_INVALID_PROMISE_STATE  (-1)

@rockwotj
Copy link
Contributor Author

Ah good catch. Macros are such a clunky way to define constants. I can submit a fix later this weekend.

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