File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/JavaScriptBigIntSupport Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import JavaScriptKit
22
3- extension UInt64 : ConvertibleToJSValue , TypedArrayElement {
3+ extension UInt64 : JavaScriptKit . ConvertibleToJSValue , JavaScriptKit . TypedArrayElement {
44 public static var typedArrayClass = JSObject . global. BigUint64Array. function!
55
66 public var jsValue : JSValue { . bigInt( JSBigInt ( unsigned: self ) ) }
77}
88
9- extension Int64 : ConvertibleToJSValue , TypedArrayElement {
9+ extension Int64 : JavaScriptKit . ConvertibleToJSValue , JavaScriptKit . TypedArrayElement {
1010 public static var typedArrayClass = JSObject . global. BigInt64Array. function!
1111
1212 public var jsValue : JSValue { . bigInt( JSBigInt ( self ) ) }
Original file line number Diff line number Diff line change 11import _CJavaScriptBigIntSupport
22@_spi ( JSObject_id) import JavaScriptKit
33
4- extension JSBigInt : JSBigIntExtended {
4+ extension JSBigInt : JavaScriptKit . JSBigIntExtended {
55 public var int64Value : Int64 {
66 swjs_bigint_to_i64 ( id, true )
77 }
You can’t perform that action at this time.
0 commit comments