-
Notifications
You must be signed in to change notification settings - Fork 174
[Feature Request] Add JS_ToBigUint64()
function
#376
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
Labels
Comments
Makes sense! |
For anyone wanting to work on this: it should be as easy as replacing bf_get_int64 with bf_get_uint64 |
We don't assign issues, feel free to send a PR though! |
Merged
bluesky950520
pushed a commit
to bluesky950520/quickjs
that referenced
this issue
Mar 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There already exists:
JS_ToBigInt64()
JS_NewBigUint64()
JS_NewBigInt64()
Notably missing from this list is
JS_ToBigUint64()
, which means I have to cast myuint64_t *
value toint64_t *
when using theJS_ToBigInt64()
function. Would be nice to not need to do the casting part, and makes sense to add it for API symmetry IMO.The text was updated successfully, but these errors were encountered: