-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
feat: add Node-API macros for binary functions #1687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me as per my knowledge. Thanks @aman-095!
If you wish to read more about Node-API
: https://nodejs.org/api/n-api.html
lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.com>
lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary.h
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Athan <kgryte@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README is missing the new macro defns. Once added, this should be ready for merge.
@kgryte @Pranavchiku @Planeshifter I have applied changes please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for your contribution!
PR-URL: stdlib-js#1687 --------- Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.com> Signed-off-by: Athan Reines <kgryte@gmail.com> Co-authored-by: Pranav <85227306+Pranavchiku@users.noreply.github.com> Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Pranav <85227306+Pranavchiku@users.noreply.github.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
Description
This pull request adds the following macros:
Related Issues
It is a blocker for the C implementation for GCD.
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers