Skip to content

Commit f334021

Browse files
committed
long long?
1 parent a57fbb8 commit f334021

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/_CJavaScriptKit/include/_CJavaScriptKit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,15 @@ extern void _release(const JavaScriptObjectRef ref);
309309
/// @param is_signed Whether to treat the value as a signed integer or not.
310310
__attribute__((__import_module__("javascript_kit"),
311311
__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);
313313

314314
/// Converts the provided BigInt to an Int64 or UInt64.
315315
///
316316
/// @param ref The target JavaScript object.
317317
/// @param is_signed Whether to treat the return value as a signed integer or not.
318318
__attribute__((__import_module__("javascript_kit"),
319319
__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);
321321
#endif
322322

323323
#endif

0 commit comments

Comments
 (0)