[TS] Update auto-generated TS bindings
[ldk-java] / ts / structs / MultiThreadedLockableScore.mts
index 74a39fe6b3f9c5f1c2c61d20214bf4bd855fefe5..1737bb79e6f78ce7716fa383dbaf3fa5295b92d0 100644 (file)
@@ -361,7 +361,7 @@ import * as bindings from '../bindings.mjs'
  */
 export class MultiThreadedLockableScore extends CommonBase {
        /* @internal */
-       public constructor(_dummy: object, ptr: number) {
+       public constructor(_dummy: object, ptr: bigint) {
                super(ptr, bindings.MultiThreadedLockableScore_free);
        }
 
@@ -378,7 +378,7 @@ export class MultiThreadedLockableScore extends CommonBase {
         * Creates a new [`MultiThreadedLockableScore`] given an underlying [`Score`].
         */
        public static constructor_new(score: Score): MultiThreadedLockableScore {
-               const ret: number = bindings.MultiThreadedLockableScore_new(score == null ? 0 : CommonBase.get_ptr_of(score));
+               const ret: bigint = bindings.MultiThreadedLockableScore_new(score == null ? 0n : CommonBase.get_ptr_of(score));
                const ret_hu_conv: MultiThreadedLockableScore = new MultiThreadedLockableScore(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, score);