File tree 1 file changed +2
-2
lines changed
Sources/_CJavaScriptKit/include 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -309,15 +309,15 @@ extern void _release(const JavaScriptObjectRef ref);
309
309
/// @param is_signed Whether to treat the value as a signed integer or not.
310
310
__attribute__((__import_module__ ("javascript_kit" ),
311
311
__import_name__ ("swjs_i64_to_bigint" )))
312
- extern JavaScriptObjectRef _i64_to_bigint (const int64_t value , bool is_signed );
312
+ extern JavaScriptObjectRef _i64_to_bigint (const long long value , bool is_signed );
313
313
314
314
/// Converts the provided BigInt to an Int64 or UInt64.
315
315
///
316
316
/// @param ref The target JavaScript object.
317
317
/// @param is_signed Whether to treat the return value as a signed integer or not.
318
318
__attribute__((__import_module__ ("javascript_kit" ),
319
319
__import_name__ ("swjs_bigint_to_i64" )))
320
- extern int64_t _bigint_to_i64 (const JavaScriptObjectRef ref , bool is_signed );
320
+ extern long long _bigint_to_i64 (const JavaScriptObjectRef ref , bool is_signed );
321
321
#endif
322
322
323
323
#endif
You can’t perform that action at this time.
0 commit comments