Bug 250719

Summary: Provide public C API for constructing, checking, and converting BigInts
Product: WebKit Reporter: Kasper Isager Dalsgarð <kasperisager>
Component: JavaScriptCoreAssignee: 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ð
Reported 2023-01-17 11:27:52 PST
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
Radar WebKit Bug Importer
Comment 1 2023-01-17 18:10:18 PST
Yijia Huang
Comment 2 2024-01-23 11:29:44 PST
*** This bug has been marked as a duplicate of bug 250511 ***
Note You need to log in before you can comment on or make changes to this bug.