Bug 250719
| Summary: | Provide public C API for constructing, checking, and converting BigInts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kasper Isager Dalsgarð <kasperisager> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | mark.lam, webkit-bug-importer, yijia_huang, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 13 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=250511 | ||
Kasper Isager Dalsgarð
Originally mentioned in relation to https://bugs.webkit.org/show_bug.cgi?id=250511, the public JavaScriptCore C API is currently missing functions for constructing BigInts, checking if a value is a BigInt, and converting BigInts to C primitives. Something akin to the following set of functions would be fantastic:
- JSValueIsBigInt()
- JSValueMakeBigInt64()
- JSValueMakeBigUInt64()
- JSValueToBigInt64()
- JSValueToBigUInt64()
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/104360015>
Yijia Huang
*** This bug has been marked as a duplicate of bug 250511 ***