super(_dummy, ptr);
number res = bindings.LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_ok(ptr);
const res_hu_conv: UnsignedNodeAnnouncement = new UnsignedNodeAnnouncement(null, res);
+ res_hu_conv.ptrs_to.add(this);
this.res = res_hu_conv;
}
public Result_UnsignedNodeAnnouncementDecodeErrorZ_OK(UnsignedNodeAnnouncement res) {
super(_dummy, ptr);
number err = bindings.LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ_get_err(ptr);
const err_hu_conv: DecodeError = new DecodeError(null, err);
+ err_hu_conv.ptrs_to.add(this);
this.err = err_hu_conv;
}
public Result_UnsignedNodeAnnouncementDecodeErrorZ_Err(DecodeError err) {