X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=ts%2Fstructs%2FThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts;h=6557ba7c8d19f0f587d499a57f025931965bdca3;hb=c629a01650402c8e2f9b9db8ced9ed63ce687727;hp=e7ea75abe786a23a0bc6e87067757fb75efba42f;hpb=2a65456aa0b540060dcf3ca707a54dc98cc3f38a;p=ldk-java diff --git a/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts b/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts index e7ea75ab..6557ba7c 100644 --- a/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts +++ b/ts/structs/ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.mts @@ -279,15 +279,20 @@ import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor import CommonBase from './CommonBase.mjs'; import * as bindings from '../bindings.mjs' -import * as InternalUtils from '../InternalUtils.mjs' +/** + * A Tuple + */ export class ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ extends CommonBase { /* @internal */ public constructor(_dummy: object, ptr: number) { super(ptr, bindings.C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free); } + /** + * + */ public get_a(): ChannelAnnouncement { const ret: number = bindings.C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_a(this.ptr); const ret_hu_conv: ChannelAnnouncement = new ChannelAnnouncement(null, ret); @@ -295,6 +300,9 @@ export class ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ extends C return ret_hu_conv; } + /** + * + */ public get_b(): ChannelUpdate { const ret: number = bindings.C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_b(this.ptr); const ret_hu_conv: ChannelUpdate = new ChannelUpdate(null, ret); @@ -302,6 +310,9 @@ export class ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ extends C return ret_hu_conv; } + /** + * + */ public get_c(): ChannelUpdate { const ret: number = bindings.C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_get_c(this.ptr); const ret_hu_conv: ChannelUpdate = new ChannelUpdate(null, ret); @@ -314,6 +325,10 @@ export class ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ extends C return ret; } + /** + * Creates a new tuple which has the same data as `orig` + * but with all dynamically-allocated buffers duplicated in new buffers. + */ public clone(): ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ { const ret: number = bindings.C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_clone(this.ptr); const ret_hu_conv: ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ = new ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ(null, ret); @@ -321,6 +336,9 @@ export class ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ extends C return ret_hu_conv; } + /** + * Creates a new C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ from the contained elements. + */ public static constructor_new(a: ChannelAnnouncement, b: ChannelUpdate, c: ChannelUpdate): ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ { const ret: number = bindings.C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_new(a == null ? 0 : CommonBase.get_ptr_of(a) & ~1, b == null ? 0 : CommonBase.get_ptr_of(b) & ~1, c == null ? 0 : CommonBase.get_ptr_of(c) & ~1); const ret_hu_conv: ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ = new ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ(null, ret);