[TS] Update auto-generated TS bindings
[ldk-java] / ts / structs / ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.mts
index 3727e5f28e45cbac492d28b01046892692d94c21..bdf8153e99e44a0f57e2c1fc90f7520753ce76f8 100644 (file)
@@ -361,7 +361,7 @@ import * as bindings from '../bindings.mjs'
  */
 export class ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ extends CommonBase {
        /* @internal */
-       public constructor(_dummy: object, ptr: number) {
+       public constructor(_dummy: object, ptr: bigint) {
                super(ptr, bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_free);
        }
 
@@ -369,7 +369,7 @@ export class ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ extends CommonBase
         * 
         */
        public get_a(): OutPoint {
-               const ret: number = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_a(this.ptr);
+               const ret: bigint = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_get_a(this.ptr);
                const ret_hu_conv: OutPoint = new OutPoint(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, this);
                return ret_hu_conv;
@@ -383,7 +383,7 @@ export class ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ extends CommonBase
                const ret_conv_14_len: number = bindings.getArrayLength(ret);
                const ret_conv_14_arr: MonitorEvent[] = new Array(ret_conv_14_len).fill(null);
                for (var o = 0; o < ret_conv_14_len; o++) {
-                       const ret_conv_14: number = bindings.getU32ArrayElem(ret, o);
+                       const ret_conv_14: bigint = bindings.getU64ArrayElem(ret, o);
                        const ret_conv_14_hu_conv: MonitorEvent = MonitorEvent.constr_from_ptr(ret_conv_14);
                        CommonBase.add_ref_from(ret_conv_14_hu_conv, this);
                        ret_conv_14_arr[o] = ret_conv_14_hu_conv;
@@ -401,8 +401,8 @@ export class ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ extends CommonBase
                return ret_conv;
        }
 
-       public clone_ptr(): number {
-               const ret: number = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(this.ptr);
+       public clone_ptr(): bigint {
+               const ret: bigint = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone_ptr(this.ptr);
                return ret;
        }
 
@@ -411,7 +411,7 @@ export class ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ extends CommonBase
         * but with all dynamically-allocated buffers duplicated in new buffers.
         */
        public clone(): ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ {
-               const ret: number = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone(this.ptr);
+               const ret: bigint = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone(this.ptr);
                const ret_hu_conv: ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ = new ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, this);
                return ret_hu_conv;
@@ -421,9 +421,10 @@ export class ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ extends CommonBase
         * Creates a new C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ from the contained elements.
         */
        public static constructor_new(a: OutPoint, b: MonitorEvent[], c: Uint8Array): ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ {
-               const ret: number = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_new(a == null ? 0 : CommonBase.get_ptr_of(a) & ~1, bindings.encodeUint32Array(b != null ? b.map(b_conv_14 => CommonBase.get_ptr_of(b_conv_14)) : null), bindings.encodeUint8Array(bindings.check_arr_len(c, 33)));
+               const ret: bigint = bindings.C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_new(a == null ? 0n : CommonBase.get_ptr_of(a), bindings.encodeUint64Array(b != null ? b.map(b_conv_14 => CommonBase.get_ptr_of(b_conv_14)) : null), bindings.encodeUint8Array(bindings.check_arr_len(c, 33)));
                const ret_hu_conv: ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ = new ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
+               CommonBase.add_ref_from(ret_hu_conv, a);
                return ret_hu_conv;
        }