]> git.bitcoin.ninja Git - ldk-java/commitdiff
Update auto-generated bindings
authorMatt Corallo <git@bluematt.me>
Tue, 28 Sep 2021 01:23:02 +0000 (01:23 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Sep 2021 01:23:02 +0000 (01:23 +0000)
289 files changed:
src/main/java/org/ldk/structs/APIError.java
src/main/java/org/ldk/structs/Balance.java
src/main/java/org/ldk/structs/BaseSign.java
src/main/java/org/ldk/structs/ChainMonitor.java
src/main/java/org/ldk/structs/ChainParameters.java
src/main/java/org/ldk/structs/ChannelAnnouncement.java
src/main/java/org/ldk/structs/ChannelCounterparty.java
src/main/java/org/ldk/structs/ChannelDetails.java
src/main/java/org/ldk/structs/ChannelInfo.java
src/main/java/org/ldk/structs/ChannelManager.java
src/main/java/org/ldk/structs/ChannelManagerReadArgs.java
src/main/java/org/ldk/structs/ChannelMessageHandler.java
src/main/java/org/ldk/structs/ChannelTransactionParameters.java
src/main/java/org/ldk/structs/ChannelUpdate.java
src/main/java/org/ldk/structs/ClosingSigned.java
src/main/java/org/ldk/structs/ClosingTransaction.java
src/main/java/org/ldk/structs/CommitmentUpdate.java
src/main/java/org/ldk/structs/CounterpartyChannelTransactionParameters.java
src/main/java/org/ldk/structs/DelayedPaymentOutputDescriptor.java
src/main/java/org/ldk/structs/Description.java
src/main/java/org/ldk/structs/DirectionalChannelInfo.java
src/main/java/org/ldk/structs/ErrorAction.java
src/main/java/org/ldk/structs/Event.java
src/main/java/org/ldk/structs/EventHandler.java
src/main/java/org/ldk/structs/Fallback.java
src/main/java/org/ldk/structs/Filter.java
src/main/java/org/ldk/structs/HolderCommitmentTransaction.java
src/main/java/org/ldk/structs/Init.java
src/main/java/org/ldk/structs/Invoice.java
src/main/java/org/ldk/structs/KeysInterface.java
src/main/java/org/ldk/structs/MessageSendEvent.java
src/main/java/org/ldk/structs/MonitorEvent.java
src/main/java/org/ldk/structs/NetGraphMsgHandler.java
src/main/java/org/ldk/structs/NetworkUpdate.java
src/main/java/org/ldk/structs/NodeAnnouncement.java
src/main/java/org/ldk/structs/NodeAnnouncementInfo.java
src/main/java/org/ldk/structs/NodeInfo.java
src/main/java/org/ldk/structs/PeerManager.java
src/main/java/org/ldk/structs/Persist.java
src/main/java/org/ldk/structs/PrivateRoute.java
src/main/java/org/ldk/structs/RawDataPart.java
src/main/java/org/ldk/structs/RawInvoice.java
src/main/java/org/ldk/structs/Result_AcceptChannelDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_AnnouncementSignaturesDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_BuiltCommitmentTransactionDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_COption_TypeZDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_CResult_NetAddressu8ZDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_CVec_u8ZPeerHandleErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelAnnouncementDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelConfigDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelFeaturesDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelInfoDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelMonitorUpdateDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelPublicKeysDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelReestablishDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelTransactionParametersDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ChannelUpdateDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ClosingSignedDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ClosingSignedFeeRangeDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_CommitmentSignedDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_CommitmentTransactionDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_DescriptionCreationErrorZ.java
src/main/java/org/ldk/structs/Result_DirectionalChannelInfoDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ErrorMessageDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ExpiryTimeCreationErrorZ.java
src/main/java/org/ldk/structs/Result_FundingCreatedDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_FundingLockedDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_FundingSignedDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_GossipTimestampFilterDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_HTLCOutputInCommitmentDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_HolderCommitmentTransactionDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_InMemorySignerDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_InitDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_InitFeaturesDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_InvoiceFeaturesDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_InvoiceNoneZ.java
src/main/java/org/ldk/structs/Result_InvoiceSemanticErrorZ.java
src/main/java/org/ldk/structs/Result_InvoiceSignOrCreationErrorZ.java
src/main/java/org/ldk/structs/Result_NetAddressDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_NetworkGraphDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_NodeAnnouncementDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_NodeAnnouncementInfoDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_NodeFeaturesDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_NodeInfoDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_NoneLightningErrorZ.java
src/main/java/org/ldk/structs/Result_NoneMonitorUpdateErrorZ.java
src/main/java/org/ldk/structs/Result_NonePeerHandleErrorZ.java
src/main/java/org/ldk/structs/Result_OpenChannelDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_OutPointDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_PayeePubKeyErrorZ.java
src/main/java/org/ldk/structs/Result_PingDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_PongDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_PositiveTimestampCreationErrorZ.java
src/main/java/org/ldk/structs/Result_PrivateRouteCreationErrorZ.java
src/main/java/org/ldk/structs/Result_QueryChannelRangeDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_QueryShortChannelIdsDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ReplyChannelRangeDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_RevokeAndACKDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_RouteDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_RouteHopDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_RouteLightningErrorZ.java
src/main/java/org/ldk/structs/Result_RoutingFeesDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ShutdownDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ShutdownScriptDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_ShutdownScriptInvalidShutdownScriptZ.java
src/main/java/org/ldk/structs/Result_SignDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_SignedRawInvoiceNoneZ.java
src/main/java/org/ldk/structs/Result_SpendableOutputDescriptorDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_TxCreationKeysDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_TxCreationKeysErrorZ.java
src/main/java/org/ldk/structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UnsignedChannelUpdateDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UpdateAddHTLCDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UpdateFailHTLCDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UpdateFeeDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_UpdateFulfillHTLCDecodeErrorZ.java
src/main/java/org/ldk/structs/Result_boolLightningErrorZ.java
src/main/java/org/ldk/structs/Result_boolPeerHandleErrorZ.java
src/main/java/org/ldk/structs/Route.java
src/main/java/org/ldk/structs/RouteHintHop.java
src/main/java/org/ldk/structs/RouteHop.java
src/main/java/org/ldk/structs/RoutingMessageHandler.java
src/main/java/org/ldk/structs/ShutdownScript.java
src/main/java/org/ldk/structs/Sign.java
src/main/java/org/ldk/structs/SignOrCreationError.java
src/main/java/org/ldk/structs/SignedRawInvoice.java
src/main/java/org/ldk/structs/SpendableOutputDescriptor.java
src/main/java/org/ldk/structs/StaticPaymentOutputDescriptor.java
src/main/java/org/ldk/structs/TwoTuple_BlockHashChannelManagerZ.java
src/main/java/org/ldk/structs/TwoTuple_BlockHashChannelMonitorZ.java
src/main/java/org/ldk/structs/TwoTuple_OutPointScriptZ.java
src/main/java/org/ldk/structs/UnsignedChannelAnnouncement.java
src/main/java/org/ldk/structs/UnsignedNodeAnnouncement.java
src/main/java/org/ldk/structs/UserConfig.java
src/main/java/org/ldk/structs/UtilMethods.java
src/main/java/org/ldk/structs/Watch.java
src/main/java/org/ldk/structs/WatchedOutput.java
ts/structs/APIError.ts
ts/structs/Balance.ts
ts/structs/BaseSign.ts
ts/structs/ChainMonitor.ts
ts/structs/ChainParameters.ts
ts/structs/ChannelAnnouncement.ts
ts/structs/ChannelCounterparty.ts
ts/structs/ChannelDetails.ts
ts/structs/ChannelInfo.ts
ts/structs/ChannelManager.ts
ts/structs/ChannelManagerReadArgs.ts
ts/structs/ChannelMessageHandler.ts
ts/structs/ChannelTransactionParameters.ts
ts/structs/ChannelUpdate.ts
ts/structs/ClosingSigned.ts
ts/structs/ClosingTransaction.ts
ts/structs/CommitmentUpdate.ts
ts/structs/CounterpartyChannelTransactionParameters.ts
ts/structs/DelayedPaymentOutputDescriptor.ts
ts/structs/DirectionalChannelInfo.ts
ts/structs/ErrorAction.ts
ts/structs/Event.ts
ts/structs/EventHandler.ts
ts/structs/Fallback.ts
ts/structs/Filter.ts
ts/structs/HolderCommitmentTransaction.ts
ts/structs/Init.ts
ts/structs/Invoice.ts
ts/structs/KeysInterface.ts
ts/structs/MessageSendEvent.ts
ts/structs/MonitorEvent.ts
ts/structs/NetGraphMsgHandler.ts
ts/structs/NetworkUpdate.ts
ts/structs/NodeAnnouncement.ts
ts/structs/NodeAnnouncementInfo.ts
ts/structs/NodeInfo.ts
ts/structs/PeerManager.ts
ts/structs/Persist.ts
ts/structs/PrivateRoute.ts
ts/structs/RawDataPart.ts
ts/structs/RawInvoice.ts
ts/structs/Result_AcceptChannelDecodeErrorZ.ts
ts/structs/Result_AnnouncementSignaturesDecodeErrorZ.ts
ts/structs/Result_BuiltCommitmentTransactionDecodeErrorZ.ts
ts/structs/Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.ts
ts/structs/Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.ts
ts/structs/Result_COption_TypeZDecodeErrorZ.ts
ts/structs/Result_CResult_NetAddressu8ZDecodeErrorZ.ts
ts/structs/Result_CVec_u8ZPeerHandleErrorZ.ts
ts/structs/Result_ChannelAnnouncementDecodeErrorZ.ts
ts/structs/Result_ChannelConfigDecodeErrorZ.ts
ts/structs/Result_ChannelFeaturesDecodeErrorZ.ts
ts/structs/Result_ChannelInfoDecodeErrorZ.ts
ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.ts
ts/structs/Result_ChannelPublicKeysDecodeErrorZ.ts
ts/structs/Result_ChannelReestablishDecodeErrorZ.ts
ts/structs/Result_ChannelTransactionParametersDecodeErrorZ.ts
ts/structs/Result_ChannelUpdateDecodeErrorZ.ts
ts/structs/Result_ClosingSignedDecodeErrorZ.ts
ts/structs/Result_ClosingSignedFeeRangeDecodeErrorZ.ts
ts/structs/Result_CommitmentSignedDecodeErrorZ.ts
ts/structs/Result_CommitmentTransactionDecodeErrorZ.ts
ts/structs/Result_CounterpartyChannelTransactionParametersDecodeErrorZ.ts
ts/structs/Result_DelayedPaymentOutputDescriptorDecodeErrorZ.ts
ts/structs/Result_DescriptionCreationErrorZ.ts
ts/structs/Result_DirectionalChannelInfoDecodeErrorZ.ts
ts/structs/Result_ErrorMessageDecodeErrorZ.ts
ts/structs/Result_ExpiryTimeCreationErrorZ.ts
ts/structs/Result_FundingCreatedDecodeErrorZ.ts
ts/structs/Result_FundingLockedDecodeErrorZ.ts
ts/structs/Result_FundingSignedDecodeErrorZ.ts
ts/structs/Result_GossipTimestampFilterDecodeErrorZ.ts
ts/structs/Result_HTLCOutputInCommitmentDecodeErrorZ.ts
ts/structs/Result_HTLCUpdateDecodeErrorZ.ts
ts/structs/Result_HolderCommitmentTransactionDecodeErrorZ.ts
ts/structs/Result_InMemorySignerDecodeErrorZ.ts
ts/structs/Result_InitDecodeErrorZ.ts
ts/structs/Result_InitFeaturesDecodeErrorZ.ts
ts/structs/Result_InvoiceFeaturesDecodeErrorZ.ts
ts/structs/Result_InvoiceNoneZ.ts
ts/structs/Result_InvoiceSemanticErrorZ.ts
ts/structs/Result_InvoiceSignOrCreationErrorZ.ts
ts/structs/Result_NetAddressDecodeErrorZ.ts
ts/structs/Result_NetworkGraphDecodeErrorZ.ts
ts/structs/Result_NodeAnnouncementDecodeErrorZ.ts
ts/structs/Result_NodeAnnouncementInfoDecodeErrorZ.ts
ts/structs/Result_NodeFeaturesDecodeErrorZ.ts
ts/structs/Result_NodeInfoDecodeErrorZ.ts
ts/structs/Result_NoneLightningErrorZ.ts
ts/structs/Result_NoneMonitorUpdateErrorZ.ts
ts/structs/Result_NonePeerHandleErrorZ.ts
ts/structs/Result_OpenChannelDecodeErrorZ.ts
ts/structs/Result_OutPointDecodeErrorZ.ts
ts/structs/Result_PayeePubKeyErrorZ.ts
ts/structs/Result_PingDecodeErrorZ.ts
ts/structs/Result_PongDecodeErrorZ.ts
ts/structs/Result_PositiveTimestampCreationErrorZ.ts
ts/structs/Result_PrivateRouteCreationErrorZ.ts
ts/structs/Result_QueryChannelRangeDecodeErrorZ.ts
ts/structs/Result_QueryShortChannelIdsDecodeErrorZ.ts
ts/structs/Result_ReplyChannelRangeDecodeErrorZ.ts
ts/structs/Result_ReplyShortChannelIdsEndDecodeErrorZ.ts
ts/structs/Result_RevokeAndACKDecodeErrorZ.ts
ts/structs/Result_RouteDecodeErrorZ.ts
ts/structs/Result_RouteHopDecodeErrorZ.ts
ts/structs/Result_RouteLightningErrorZ.ts
ts/structs/Result_RoutingFeesDecodeErrorZ.ts
ts/structs/Result_ShutdownDecodeErrorZ.ts
ts/structs/Result_ShutdownScriptDecodeErrorZ.ts
ts/structs/Result_ShutdownScriptInvalidShutdownScriptZ.ts
ts/structs/Result_SignDecodeErrorZ.ts
ts/structs/Result_SignedRawInvoiceNoneZ.ts
ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.ts
ts/structs/Result_StaticPaymentOutputDescriptorDecodeErrorZ.ts
ts/structs/Result_TxCreationKeysDecodeErrorZ.ts
ts/structs/Result_TxCreationKeysErrorZ.ts
ts/structs/Result_UnsignedChannelAnnouncementDecodeErrorZ.ts
ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.ts
ts/structs/Result_UnsignedNodeAnnouncementDecodeErrorZ.ts
ts/structs/Result_UpdateAddHTLCDecodeErrorZ.ts
ts/structs/Result_UpdateFailHTLCDecodeErrorZ.ts
ts/structs/Result_UpdateFailMalformedHTLCDecodeErrorZ.ts
ts/structs/Result_UpdateFeeDecodeErrorZ.ts
ts/structs/Result_UpdateFulfillHTLCDecodeErrorZ.ts
ts/structs/Result_boolLightningErrorZ.ts
ts/structs/Result_boolPeerHandleErrorZ.ts
ts/structs/Route.ts
ts/structs/RouteHintHop.ts
ts/structs/RouteHop.ts
ts/structs/RoutingMessageHandler.ts
ts/structs/Sign.ts
ts/structs/SignOrCreationError.ts
ts/structs/SpendableOutputDescriptor.ts
ts/structs/StaticPaymentOutputDescriptor.ts
ts/structs/TwoTuple_BlockHashChannelManagerZ.ts
ts/structs/TwoTuple_BlockHashChannelMonitorZ.ts
ts/structs/TwoTuple_OutPointScriptZ.ts
ts/structs/UnsignedChannelAnnouncement.ts
ts/structs/UnsignedNodeAnnouncement.ts
ts/structs/UserConfig.ts
ts/structs/UtilMethods.ts
ts/structs/Watch.ts
ts/structs/WatchedOutput.ts

index 48152a61b9312c492ca6a168f29ad893ebb55436..008b99f52651b841d2e83b1455f5df1636fd64ed 100644 (file)
@@ -179,7 +179,6 @@ public class APIError extends CommonBase {
                if (ret < 1024) { return null; }
                APIError ret_hu_conv = APIError.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(script);
                return ret_hu_conv;
        }
 
index fb2e5f474552a249fb7b624391fb24d35b48ff4a..1a08f911cfdf35471aa6f9a464802e81ac759551 100644 (file)
@@ -161,7 +161,6 @@ public class Balance extends CommonBase {
         */
        public boolean eq(Balance b) {
                boolean ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }
 
index 8d44de663fa0f7f4a0b2b7beb4b08006ff80c199..66c12fcaca7d6c3cf10de090f168979b38def68b 100644 (file)
@@ -32,7 +32,6 @@ public class BaseSign extends CommonBase {
        private BaseSign(bindings.LDKBaseSign arg, ChannelPublicKeys pubkeys) {
                super(bindings.LDKBaseSign_new(arg, pubkeys == null ? 0 : pubkeys.ptr & ~1));
                this.ptrs_to.add(arg);
-               this.ptrs_to.add(pubkeys);
                this.bindings_instance = arg;
        }
        @Override @SuppressWarnings("deprecation")
index 1ed9337df3628264dddd94561ca1d6dba35c7872..079e1475e0ec334b04d17021d1d9ca46c8fe7028 100644 (file)
@@ -68,7 +68,6 @@ public class ChainMonitor extends CommonBase {
                        ret_conv_9_hu_conv.ptrs_to.add(this);
                        ret_conv_9_arr[j] = ret_conv_9_hu_conv;
                }
-               for (ChannelDetails ignored_channels_conv_16: ignored_channels) { this.ptrs_to.add(ignored_channels_conv_16); };
                return ret_conv_9_arr;
        }
 
index c65be86d10fe3f6391f43bce896abb19885ddffa..256cf100f09cecf0f425121cbc6536d6a1694990 100644 (file)
@@ -58,7 +58,6 @@ public class ChainParameters extends CommonBase {
         */
        public void set_best_block(BestBlock val) {
                bindings.ChainParameters_set_best_block(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -69,7 +68,6 @@ public class ChainParameters extends CommonBase {
                if (ret < 1024) { return null; }
                ChainParameters ret_hu_conv = new ChainParameters(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(best_block_arg);
                return ret_hu_conv;
        }
 
index 2d4307a8f6c0548b1ac3b46af2ec7ee50a51f354..91a091259ed60f6cdc358bbaef0fc0bee2a89c76 100644 (file)
@@ -95,7 +95,6 @@ public class ChannelAnnouncement extends CommonBase {
         */
        public void set_contents(UnsignedChannelAnnouncement val) {
                bindings.ChannelAnnouncement_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -106,7 +105,6 @@ public class ChannelAnnouncement extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelAnnouncement ret_hu_conv = new ChannelAnnouncement(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }
 
index afbf447817e34dfd10ecb6691fc9c060127269ea..03d30fef28bfe70d9a2b865f3e309d989acce684 100644 (file)
@@ -55,7 +55,6 @@ public class ChannelCounterparty extends CommonBase {
         */
        public void set_features(InitFeatures val) {
                bindings.ChannelCounterparty_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -108,7 +107,6 @@ public class ChannelCounterparty extends CommonBase {
         */
        public void set_forwarding_info(@Nullable CounterpartyForwardingInfo val) {
                bindings.ChannelCounterparty_set_forwarding_info(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -119,8 +117,6 @@ public class ChannelCounterparty extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelCounterparty ret_hu_conv = new ChannelCounterparty(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(forwarding_info_arg);
                return ret_hu_conv;
        }
 
index da32093df7fa3c4c14476c26c17f0e75f31d6547..42b0958a944f3d4cd0836f452041a4b2a49c413f 100644 (file)
@@ -56,7 +56,6 @@ public class ChannelDetails extends CommonBase {
         */
        public void set_counterparty(ChannelCounterparty val) {
                bindings.ChannelDetails_set_counterparty(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -88,7 +87,6 @@ public class ChannelDetails extends CommonBase {
         */
        public void set_funding_txo(@Nullable OutPoint val) {
                bindings.ChannelDetails_set_funding_txo(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -389,8 +387,6 @@ public class ChannelDetails extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelDetails ret_hu_conv = new ChannelDetails(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(counterparty_arg);
-               ret_hu_conv.ptrs_to.add(funding_txo_arg);
                return ret_hu_conv;
        }
 
index 9f7e5bd03432bc4166efdfb1d8beaeafe4b9d5a0..7bec5b21952a45cc3a8a8f01c4ae53ca6b143960 100644 (file)
@@ -36,7 +36,6 @@ public class ChannelInfo extends CommonBase {
         */
        public void set_features(ChannelFeatures val) {
                bindings.ChannelInfo_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -75,7 +74,6 @@ public class ChannelInfo extends CommonBase {
         */
        public void set_one_to_two(@Nullable DirectionalChannelInfo val) {
                bindings.ChannelInfo_set_one_to_two(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -114,7 +112,6 @@ public class ChannelInfo extends CommonBase {
         */
        public void set_two_to_one(@Nullable DirectionalChannelInfo val) {
                bindings.ChannelInfo_set_two_to_one(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -162,7 +159,6 @@ public class ChannelInfo extends CommonBase {
         */
        public void set_announcement_message(@Nullable ChannelAnnouncement val) {
                bindings.ChannelInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -173,10 +169,6 @@ public class ChannelInfo extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelInfo ret_hu_conv = new ChannelInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(one_to_two_arg);
-               ret_hu_conv.ptrs_to.add(two_to_one_arg);
-               ret_hu_conv.ptrs_to.add(announcement_message_arg);
                return ret_hu_conv;
        }
 
index 8edf767a255ae9c9d53643d665247a3fb3a97f02..e3ce61382a98ac6be58f9434692a44106dbe4105 100644 (file)
@@ -78,8 +78,6 @@ public class ChannelManager extends CommonBase {
                ret_hu_conv.ptrs_to.add(tx_broadcaster);
                ret_hu_conv.ptrs_to.add(logger);
                ret_hu_conv.ptrs_to.add(keys_manager);
-               ret_hu_conv.ptrs_to.add(config);
-               ret_hu_conv.ptrs_to.add(params);
                return ret_hu_conv;
        }
 
@@ -119,7 +117,6 @@ public class ChannelManager extends CommonBase {
                long ret = bindings.ChannelManager_create_channel(this.ptr, their_network_key, channel_value_satoshis, push_msat, user_id, override_config == null ? 0 : override_config.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneAPIErrorZ ret_hu_conv = Result_NoneAPIErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(override_config);
                return ret_hu_conv;
        }
 
index 291deffb37acdbe56e25a179ac34ed781d7e315f..1f5d32164e07e9cea6c2859f115e5b7313fa1457 100644 (file)
@@ -178,7 +178,6 @@ public class ChannelManagerReadArgs extends CommonBase {
         */
        public void set_default_config(UserConfig val) {
                bindings.ChannelManagerReadArgs_set_default_config(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -196,7 +195,6 @@ public class ChannelManagerReadArgs extends CommonBase {
                ret_hu_conv.ptrs_to.add(chain_monitor);
                ret_hu_conv.ptrs_to.add(tx_broadcaster);
                ret_hu_conv.ptrs_to.add(logger);
-               ret_hu_conv.ptrs_to.add(default_config);
                for (ChannelMonitor channel_monitors_conv_16: channel_monitors) { ret_hu_conv.ptrs_to.add(channel_monitors_conv_16); };
                return ret_hu_conv;
        }
index e694bb9d364c8794cf0c7bdbd0eade0d4321bfee..190789dbe2c85575b5a6d352df5c051b6b1d4aa0 100644 (file)
@@ -218,7 +218,6 @@ public class ChannelMessageHandler extends CommonBase {
         */
        public void handle_open_channel(byte[] their_node_id, InitFeatures their_features, OpenChannel msg) {
                bindings.ChannelMessageHandler_handle_open_channel(this.ptr, their_node_id, their_features == null ? 0 : their_features.ptr & ~1, msg == null ? 0 : msg.ptr & ~1);
-               this.ptrs_to.add(their_features);
                this.ptrs_to.add(msg);
        }
 
@@ -227,7 +226,6 @@ public class ChannelMessageHandler extends CommonBase {
         */
        public void handle_accept_channel(byte[] their_node_id, InitFeatures their_features, AcceptChannel msg) {
                bindings.ChannelMessageHandler_handle_accept_channel(this.ptr, their_node_id, their_features == null ? 0 : their_features.ptr & ~1, msg == null ? 0 : msg.ptr & ~1);
-               this.ptrs_to.add(their_features);
                this.ptrs_to.add(msg);
        }
 
index 980ed9e0c633aad4439ea14d1decd3817a40bd65..b581dc91326d65a92a6cd65c499e46a86e0df0dc 100644 (file)
@@ -39,7 +39,6 @@ public class ChannelTransactionParameters extends CommonBase {
         */
        public void set_holder_pubkeys(ChannelPublicKeys val) {
                bindings.ChannelTransactionParameters_set_holder_pubkeys(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -97,7 +96,6 @@ public class ChannelTransactionParameters extends CommonBase {
         */
        public void set_counterparty_parameters(@Nullable CounterpartyChannelTransactionParameters val) {
                bindings.ChannelTransactionParameters_set_counterparty_parameters(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -121,7 +119,6 @@ public class ChannelTransactionParameters extends CommonBase {
         */
        public void set_funding_outpoint(@Nullable OutPoint val) {
                bindings.ChannelTransactionParameters_set_funding_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -132,9 +129,6 @@ public class ChannelTransactionParameters extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelTransactionParameters ret_hu_conv = new ChannelTransactionParameters(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(holder_pubkeys_arg);
-               ret_hu_conv.ptrs_to.add(counterparty_parameters_arg);
-               ret_hu_conv.ptrs_to.add(funding_outpoint_arg);
                return ret_hu_conv;
        }
 
index f55325ae9916f9a7f323d80f75deace3d99283e4..66d4ed0c5ea05fe657c8582429df4e530be5c6dc 100644 (file)
@@ -50,7 +50,6 @@ public class ChannelUpdate extends CommonBase {
         */
        public void set_contents(UnsignedChannelUpdate val) {
                bindings.ChannelUpdate_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -61,7 +60,6 @@ public class ChannelUpdate extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelUpdate ret_hu_conv = new ChannelUpdate(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }
 
index ca65285be6fc1ea1c347dd7315ae860d8308d379..948b60ef1fbfd123d78cb9bdd2fa4f6ddfdac574 100644 (file)
@@ -87,7 +87,6 @@ public class ClosingSigned extends CommonBase {
         */
        public void set_fee_range(@Nullable ClosingSignedFeeRange val) {
                bindings.ClosingSigned_set_fee_range(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -98,7 +97,6 @@ public class ClosingSigned extends CommonBase {
                if (ret < 1024) { return null; }
                ClosingSigned ret_hu_conv = new ClosingSigned(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(fee_range_arg);
                return ret_hu_conv;
        }
 
index e7b95c2b5e951287dfdf4e5f2660439570cb4d44..d9b09dab9a7e04527407fb478ca8a132a829476b 100644 (file)
@@ -31,7 +31,6 @@ public class ClosingTransaction extends CommonBase {
                if (ret < 1024) { return null; }
                ClosingTransaction ret_hu_conv = new ClosingTransaction(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(funding_outpoint);
                return ret_hu_conv;
        }
 
@@ -63,7 +62,6 @@ public class ClosingTransaction extends CommonBase {
                long ret = bindings.ClosingTransaction_verify(this.ptr, funding_outpoint == null ? 0 : funding_outpoint.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_TrustedClosingTransactionNoneZ ret_hu_conv = Result_TrustedClosingTransactionNoneZ.constr_from_ptr(ret);
-               this.ptrs_to.add(funding_outpoint);
                return ret_hu_conv;
        }
 
index 049a26c7407530de457a0493ab96860a3ae5a272..797eca9205ebbc6cdee5e1b6066e2732e0c78db7 100644 (file)
@@ -40,7 +40,6 @@ public class CommitmentUpdate extends CommonBase {
         */
        public void set_update_add_htlcs(UpdateAddHTLC[] val) {
                bindings.CommitmentUpdate_set_update_add_htlcs(this.ptr, val != null ? Arrays.stream(val).mapToLong(val_conv_15 -> val_conv_15 == null ? 0 : val_conv_15.ptr & ~1).toArray() : null);
-               for (UpdateAddHTLC val_conv_15: val) { this.ptrs_to.add(val_conv_15); };
        }
 
        /**
@@ -63,7 +62,6 @@ public class CommitmentUpdate extends CommonBase {
         */
        public void set_update_fulfill_htlcs(UpdateFulfillHTLC[] val) {
                bindings.CommitmentUpdate_set_update_fulfill_htlcs(this.ptr, val != null ? Arrays.stream(val).mapToLong(val_conv_19 -> val_conv_19 == null ? 0 : val_conv_19.ptr & ~1).toArray() : null);
-               for (UpdateFulfillHTLC val_conv_19: val) { this.ptrs_to.add(val_conv_19); };
        }
 
        /**
@@ -86,7 +84,6 @@ public class CommitmentUpdate extends CommonBase {
         */
        public void set_update_fail_htlcs(UpdateFailHTLC[] val) {
                bindings.CommitmentUpdate_set_update_fail_htlcs(this.ptr, val != null ? Arrays.stream(val).mapToLong(val_conv_16 -> val_conv_16 == null ? 0 : val_conv_16.ptr & ~1).toArray() : null);
-               for (UpdateFailHTLC val_conv_16: val) { this.ptrs_to.add(val_conv_16); };
        }
 
        /**
@@ -109,7 +106,6 @@ public class CommitmentUpdate extends CommonBase {
         */
        public void set_update_fail_malformed_htlcs(UpdateFailMalformedHTLC[] val) {
                bindings.CommitmentUpdate_set_update_fail_malformed_htlcs(this.ptr, val != null ? Arrays.stream(val).mapToLong(val_conv_25 -> val_conv_25 == null ? 0 : val_conv_25.ptr & ~1).toArray() : null);
-               for (UpdateFailMalformedHTLC val_conv_25: val) { this.ptrs_to.add(val_conv_25); };
        }
 
        /**
@@ -133,7 +129,6 @@ public class CommitmentUpdate extends CommonBase {
         */
        public void set_update_fee(@Nullable UpdateFee val) {
                bindings.CommitmentUpdate_set_update_fee(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -152,7 +147,6 @@ public class CommitmentUpdate extends CommonBase {
         */
        public void set_commitment_signed(CommitmentSigned val) {
                bindings.CommitmentUpdate_set_commitment_signed(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -163,12 +157,6 @@ public class CommitmentUpdate extends CommonBase {
                if (ret < 1024) { return null; }
                CommitmentUpdate ret_hu_conv = new CommitmentUpdate(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               for (UpdateAddHTLC update_add_htlcs_arg_conv_15: update_add_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_add_htlcs_arg_conv_15); };
-               for (UpdateFulfillHTLC update_fulfill_htlcs_arg_conv_19: update_fulfill_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_fulfill_htlcs_arg_conv_19); };
-               for (UpdateFailHTLC update_fail_htlcs_arg_conv_16: update_fail_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_fail_htlcs_arg_conv_16); };
-               for (UpdateFailMalformedHTLC update_fail_malformed_htlcs_arg_conv_25: update_fail_malformed_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_fail_malformed_htlcs_arg_conv_25); };
-               ret_hu_conv.ptrs_to.add(update_fee_arg);
-               ret_hu_conv.ptrs_to.add(commitment_signed_arg);
                return ret_hu_conv;
        }
 
index 7d083371dbc236dc734d175163fc7b599284c5ce..69b90198dfbc84471366ca561569e7c448f19421 100644 (file)
@@ -35,7 +35,6 @@ public class CounterpartyChannelTransactionParameters extends CommonBase {
         */
        public void set_pubkeys(ChannelPublicKeys val) {
                bindings.CounterpartyChannelTransactionParameters_set_pubkeys(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -61,7 +60,6 @@ public class CounterpartyChannelTransactionParameters extends CommonBase {
                if (ret < 1024) { return null; }
                CounterpartyChannelTransactionParameters ret_hu_conv = new CounterpartyChannelTransactionParameters(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(pubkeys_arg);
                return ret_hu_conv;
        }
 
index 756ee4ead900b2af97efe297a33e30476e57da4e..818c6a655ac653c9858e84da55e84ab8f0cd89df 100644 (file)
@@ -36,7 +36,6 @@ public class DelayedPaymentOutputDescriptor extends CommonBase {
         */
        public void set_outpoint(OutPoint val) {
                bindings.DelayedPaymentOutputDescriptor_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -137,7 +136,6 @@ public class DelayedPaymentOutputDescriptor extends CommonBase {
                if (ret < 1024) { return null; }
                DelayedPaymentOutputDescriptor ret_hu_conv = new DelayedPaymentOutputDescriptor(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint_arg);
                return ret_hu_conv;
        }
 
index 99082a52f76ee34ccb2e84e59045710794fb4556..394beac84ba95e2ec8e4158537797a3fc02b85ae 100644 (file)
@@ -70,7 +70,7 @@ public class Description extends CommonBase {
         */
        public String into_inner() {
                String ret = bindings.Description_into_inner(this.ptr);
-               this.ptrs_to.add(this);
+               ;
                return ret;
        }
 
index d67d896483170abc6c6c0fc8b54e128c1b3761e1..a67b4e9893e62171cc26a91cb640b821ed2f4615 100644 (file)
@@ -116,7 +116,6 @@ public class DirectionalChannelInfo extends CommonBase {
         */
        public void set_fees(RoutingFees val) {
                bindings.DirectionalChannelInfo_set_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -146,7 +145,6 @@ public class DirectionalChannelInfo extends CommonBase {
         */
        public void set_last_update_message(@Nullable ChannelUpdate val) {
                bindings.DirectionalChannelInfo_set_last_update_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -157,8 +155,6 @@ public class DirectionalChannelInfo extends CommonBase {
                if (ret < 1024) { return null; }
                DirectionalChannelInfo ret_hu_conv = new DirectionalChannelInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(fees_arg);
-               ret_hu_conv.ptrs_to.add(last_update_message_arg);
                return ret_hu_conv;
        }
 
index 3ff8ed72d3e4f0c8373cc9554d95dc964ad3ccd9..dd4e5604af2f909a330e91e5ee1ecbf5120ecae0 100644 (file)
@@ -94,7 +94,6 @@ public class ErrorAction extends CommonBase {
                if (ret < 1024) { return null; }
                ErrorAction ret_hu_conv = ErrorAction.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -128,7 +127,6 @@ public class ErrorAction extends CommonBase {
                if (ret < 1024) { return null; }
                ErrorAction ret_hu_conv = ErrorAction.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index 1bbfed0151b1f16536ce13973e24e42e858f2316..6733a54b27f93f1dd3455f007b044335c2b86cfb 100644 (file)
@@ -300,7 +300,6 @@ public class Event extends CommonBase {
                if (ret < 1024) { return null; }
                Event ret_hu_conv = Event.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               for (RouteHop path_conv_10: path) { ret_hu_conv.ptrs_to.add(path_conv_10); };
                return ret_hu_conv;
        }
 
index 21819ca90d85ff6247b0677a28c10069da49141c..19f68d364f756e886e8cd88082049c0a51054820 100644 (file)
@@ -49,7 +49,6 @@ public class EventHandler extends CommonBase {
         */
        public void handle_event(Event event) {
                bindings.EventHandler_handle_event(this.ptr, event == null ? 0 : event.ptr & ~1);
-               this.ptrs_to.add(event);
        }
 
 }
index 104037076a659431bf5e9da2a33807251683bc05..c041d4bef105ad30ed5162bd328c902929020f6f 100644 (file)
@@ -115,7 +115,6 @@ public class Fallback extends CommonBase {
         */
        public boolean eq(Fallback b) {
                boolean ret = bindings.Fallback_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }
 
index 701e70f5c0ad06ff894c34aada3f4e38b437348f..f1adaa7352e5391563a80bca9c8099eb9dfcf33a 100644 (file)
@@ -102,7 +102,6 @@ public class Filter extends CommonBase {
                if (ret < 1024) { return null; }
                Option_C2Tuple_usizeTransactionZZ ret_hu_conv = Option_C2Tuple_usizeTransactionZZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(this);
-               this.ptrs_to.add(output);
                return ret_hu_conv;
        }
 
index a916cd5175e13144efac72d14e734bcb291e2eae..03d75ba68daa3bb3ea8fc45eaecf80a8d8f41d8f 100644 (file)
@@ -81,7 +81,6 @@ public class HolderCommitmentTransaction extends CommonBase {
                if (ret < 1024) { return null; }
                HolderCommitmentTransaction ret_hu_conv = new HolderCommitmentTransaction(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(commitment_tx);
                return ret_hu_conv;
        }
 
index 05927db1ff8bc07d1f5a935e2aa9129df50a5354..b4e5157801d9ef2b4a30e8b1aca6abe234a2e587 100644 (file)
@@ -35,7 +35,6 @@ public class Init extends CommonBase {
         */
        public void set_features(InitFeatures val) {
                bindings.Init_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -46,7 +45,6 @@ public class Init extends CommonBase {
                if (ret < 1024) { return null; }
                Init ret_hu_conv = new Init(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
                return ret_hu_conv;
        }
 
index e162d340d5d467490b3e9a402c805286c0a56ac2..e848a21837f9c1b0fb191171cfcceeb5408e37b0 100644 (file)
@@ -54,7 +54,7 @@ public class Invoice extends CommonBase {
                if (ret < 1024) { return null; }
                SignedRawInvoice ret_hu_conv = new SignedRawInvoice(null, ret);
                ret_hu_conv.ptrs_to.add(this);
-               this.ptrs_to.add(this);
+               ;
                return ret_hu_conv;
        }
 
@@ -94,7 +94,6 @@ public class Invoice extends CommonBase {
                long ret = bindings.Invoice_from_signed(signed_invoice == null ? 0 : signed_invoice.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceSemanticErrorZ ret_hu_conv = Result_InvoiceSemanticErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(signed_invoice);
                return ret_hu_conv;
        }
 
index 19a0d62f177a7ada342cd650a6961c527b1de4a6..29d5558d04d67fc59e802d3b11688fc0883dd93b 100644 (file)
@@ -91,7 +91,6 @@ public class KeysInterface extends CommonBase {
                        @Override public long get_shutdown_scriptpubkey() {
                                ShutdownScript ret = arg.get_shutdown_scriptpubkey();
                                long result = ret == null ? 0 : ret.ptr & ~1;
-                               impl_holder.held.ptrs_to.add(ret);
                                return result;
                        }
                        @Override public long get_channel_signer(boolean inbound, long channel_value_satoshis) {
index cd30a1a62601c4de79fad085a5381aca7993d267..1a0cc0815de3a55d737d6b10a75a9ab06d109e11 100644 (file)
@@ -436,7 +436,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -448,7 +447,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -460,7 +458,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -472,7 +469,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -484,7 +480,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -496,7 +491,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -508,7 +502,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(updates);
                return ret_hu_conv;
        }
 
@@ -520,7 +513,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -532,7 +524,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -544,7 +535,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -556,7 +546,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -568,8 +557,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
-               ret_hu_conv.ptrs_to.add(update_msg);
                return ret_hu_conv;
        }
 
@@ -581,7 +568,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -593,7 +579,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -605,7 +590,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -628,7 +612,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -640,7 +623,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -652,7 +634,6 @@ public class MessageSendEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index 4dc9a60164d3454c907b676165c71c747e629678..b3df4eb46856f9d01b9dea8fcbb6b795701d20ff 100644 (file)
@@ -68,7 +68,6 @@ public class MonitorEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MonitorEvent ret_hu_conv = MonitorEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
@@ -80,7 +79,6 @@ public class MonitorEvent extends CommonBase {
                if (ret < 1024) { return null; }
                MonitorEvent ret_hu_conv = MonitorEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
index 90b342c0076b4d841e29ffb29bf3571d066b038b..9807294bceb556b5ebcceb3e12585ea2ffa20102 100644 (file)
@@ -54,7 +54,6 @@ public class NetGraphMsgHandler extends CommonBase {
         */
        public void set_network_graph(NetworkGraph val) {
                bindings.NetGraphMsgHandler_set_network_graph(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -69,7 +68,6 @@ public class NetGraphMsgHandler extends CommonBase {
                if (ret < 1024) { return null; }
                NetGraphMsgHandler ret_hu_conv = new NetGraphMsgHandler(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(network_graph);
                ret_hu_conv.ptrs_to.add(logger);
                return ret_hu_conv;
        }
index 25e22024e2d7c5676544d0eb1acbd78b1155a25e..d79ad07f1245323ac3da9ca0a3ccd3e75a228555 100644 (file)
@@ -99,7 +99,6 @@ public class NetworkUpdate extends CommonBase {
                if (ret < 1024) { return null; }
                NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index 96d7b725b2653d402f94a12c2cd5787f85e60ffe..ed6aa6c253235edac369288085ddfc85fa8af7d0 100644 (file)
@@ -50,7 +50,6 @@ public class NodeAnnouncement extends CommonBase {
         */
        public void set_contents(UnsignedNodeAnnouncement val) {
                bindings.NodeAnnouncement_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -61,7 +60,6 @@ public class NodeAnnouncement extends CommonBase {
                if (ret < 1024) { return null; }
                NodeAnnouncement ret_hu_conv = new NodeAnnouncement(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }
 
index 696815c05d00672c0cc0f7312c709e5dcaaee061..b8c2ce6309a9ed81b9b64380395148a393f721c8 100644 (file)
@@ -35,7 +35,6 @@ public class NodeAnnouncementInfo extends CommonBase {
         */
        public void set_features(NodeFeatures val) {
                bindings.NodeAnnouncementInfo_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -123,7 +122,6 @@ public class NodeAnnouncementInfo extends CommonBase {
         */
        public void set_announcement_message(@Nullable NodeAnnouncement val) {
                bindings.NodeAnnouncementInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -134,8 +132,6 @@ public class NodeAnnouncementInfo extends CommonBase {
                if (ret < 1024) { return null; }
                NodeAnnouncementInfo ret_hu_conv = new NodeAnnouncementInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(announcement_message_arg);
                return ret_hu_conv;
        }
 
index 5bf3853e0fc500844ad459bfbae7e3f019685f17..098502e8987e5791d0be97d6149e01328bb518c1 100644 (file)
@@ -51,7 +51,6 @@ public class NodeInfo extends CommonBase {
         */
        public void set_lowest_inbound_channel_fees(@Nullable RoutingFees val) {
                bindings.NodeInfo_set_lowest_inbound_channel_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -79,7 +78,6 @@ public class NodeInfo extends CommonBase {
         */
        public void set_announcement_info(@Nullable NodeAnnouncementInfo val) {
                bindings.NodeInfo_set_announcement_info(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -90,8 +88,6 @@ public class NodeInfo extends CommonBase {
                if (ret < 1024) { return null; }
                NodeInfo ret_hu_conv = new NodeInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(lowest_inbound_channel_fees_arg);
-               ret_hu_conv.ptrs_to.add(announcement_info_arg);
                return ret_hu_conv;
        }
 
index f5f40db8d7db6a2ff0946e39b0c8f8fccf5e220a..0d3aecac8e38e3bc6b0353140fc99304b1b871a8 100644 (file)
@@ -125,7 +125,6 @@ public class PeerManager extends CommonBase {
                long ret = bindings.PeerManager_write_buffer_space_avail(this.ptr, descriptor == null ? 0 : descriptor.ptr);
                if (ret < 1024) { return null; }
                Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(descriptor);
                return ret_hu_conv;
        }
 
@@ -149,7 +148,6 @@ public class PeerManager extends CommonBase {
                long ret = bindings.PeerManager_read_event(this.ptr, peer_descriptor == null ? 0 : peer_descriptor.ptr, data);
                if (ret < 1024) { return null; }
                Result_boolPeerHandleErrorZ ret_hu_conv = Result_boolPeerHandleErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(peer_descriptor);
                return ret_hu_conv;
        }
 
@@ -177,7 +175,6 @@ public class PeerManager extends CommonBase {
         */
        public void socket_disconnected(SocketDescriptor descriptor) {
                bindings.PeerManager_socket_disconnected(this.ptr, descriptor == null ? 0 : descriptor.ptr);
-               this.ptrs_to.add(descriptor);
        }
 
        /**
index 57e740669264bc57958c727a220d93682eb3289c..427a446c3e6a425ace1d35ad5f697c952d625128 100644 (file)
@@ -109,7 +109,6 @@ public class Persist extends CommonBase {
                long ret = bindings.Persist_persist_new_channel(this.ptr, id == null ? 0 : id.ptr & ~1, data == null ? 0 : data.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(id);
                this.ptrs_to.add(data);
                return ret_hu_conv;
        }
@@ -142,7 +141,6 @@ public class Persist extends CommonBase {
                long ret = bindings.Persist_update_persisted_channel(this.ptr, id == null ? 0 : id.ptr & ~1, update == null ? 0 : update.ptr & ~1, data == null ? 0 : data.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(id);
                this.ptrs_to.add(update);
                this.ptrs_to.add(data);
                return ret_hu_conv;
index ae2872a10d688f897ecd696fe94310bfe2b0f689..51c84d98b031870c635de15765b7c01ed20f5e1f 100644 (file)
@@ -59,7 +59,6 @@ public class PrivateRoute extends CommonBase {
                long ret = bindings.PrivateRoute_new(hops == null ? 0 : hops.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PrivateRouteCreationErrorZ ret_hu_conv = Result_PrivateRouteCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(hops);
                return ret_hu_conv;
        }
 
@@ -71,7 +70,7 @@ public class PrivateRoute extends CommonBase {
                if (ret < 1024) { return null; }
                RouteHint ret_hu_conv = new RouteHint(null, ret);
                ret_hu_conv.ptrs_to.add(this);
-               this.ptrs_to.add(this);
+               ;
                return ret_hu_conv;
        }
 
index 637e344d1378013a1b24b6c52ce16d1f919b594c..2d66354ade301a5e2ddfeeaf31d8add9b31a4002 100644 (file)
@@ -35,7 +35,6 @@ public class RawDataPart extends CommonBase {
         */
        public void set_timestamp(PositiveTimestamp val) {
                bindings.RawDataPart_set_timestamp(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
index 647bab9d8017472059f1008fa854c8b0095fd4d9..e22ba14b2b647b8c9d1b451199946147c5ec61f0 100644 (file)
@@ -39,7 +39,6 @@ public class RawInvoice extends CommonBase {
         */
        public void set_data(RawDataPart val) {
                bindings.RawInvoice_set_data(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
index 8eee81353b739bb790752a6e79138a047800e111..037fad75cfdfe57c1b80e020dcaba6e8adac06ed 100644 (file)
@@ -48,7 +48,6 @@ public class Result_AcceptChannelDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_AcceptChannelDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_AcceptChannelDecodeErrorZ ret_hu_conv = Result_AcceptChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_AcceptChannelDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_AcceptChannelDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_AcceptChannelDecodeErrorZ ret_hu_conv = Result_AcceptChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2f6c4e865d2b8a8cf2f1a31dad7ef3f1126a0b77..1f9121543c0054baf6fb6efd1ba1436fec0eef5b 100644 (file)
@@ -48,7 +48,6 @@ public class Result_AnnouncementSignaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_AnnouncementSignaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_AnnouncementSignaturesDecodeErrorZ ret_hu_conv = Result_AnnouncementSignaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_AnnouncementSignaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_AnnouncementSignaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_AnnouncementSignaturesDecodeErrorZ ret_hu_conv = Result_AnnouncementSignaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ab99e6b240db73314061ffe36d3fa87b4fbb04e5..94c5dd62b0dedced514101a33fb43579d7b79e6d 100644 (file)
@@ -48,7 +48,6 @@ public class Result_BuiltCommitmentTransactionDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_BuiltCommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_BuiltCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_BuiltCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_BuiltCommitmentTransactionDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_BuiltCommitmentTransactionDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_BuiltCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_BuiltCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 14c3f284ea3f97f1833a32b530a455db305edbac..51e9baea7a68226930deb40af381a6ba12a87f3d 100644 (file)
@@ -58,7 +58,6 @@ public class Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ extends CommonB
                long ret = bindings.CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ ret_hu_conv = Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ef6f4ba64e7d6da9d66516f7016c5569ade479e6..b753645028a0e74e53085123d6f94341bce5be78 100644 (file)
@@ -58,7 +58,6 @@ public class Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ extends CommonB
                long ret = bindings.CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ ret_hu_conv = Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 8b7feb82748a7d6a3b2cda9fb5b4d059d16a82fa..094e0838b9b559bdc7da67369e53a30bcfc35b0f 100644 (file)
@@ -58,7 +58,6 @@ public class Result_COption_TypeZDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_COption_TypeZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_COption_TypeZDecodeErrorZ ret_hu_conv = Result_COption_TypeZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c31c02990a344157e46a4633c4f454b5b8b7c275..08cf4541bddf7f3c997590f93f3b068e9d5fcccc 100644 (file)
@@ -57,7 +57,6 @@ public class Result_CResult_NetAddressu8ZDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_CResult_NetAddressu8ZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CResult_NetAddressu8ZDecodeErrorZ ret_hu_conv = Result_CResult_NetAddressu8ZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index aa397e5be639a82fd2bdc6c0a71978903ba579c6..3cd4d240453b269502fd8bd069ee1bc9993be6b3 100644 (file)
@@ -55,7 +55,6 @@ public class Result_CVec_u8ZPeerHandleErrorZ extends CommonBase {
                long ret = bindings.CResult_CVec_u8ZPeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CVec_u8ZPeerHandleErrorZ ret_hu_conv = Result_CVec_u8ZPeerHandleErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3bceb81bc5476b6e034732e81f27188a255f4926..01f282019ce5a4af60ac28bd3b21dceb1cedcfaf 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_ChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_ChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ff5ec80e529cc68a5b5177bf2db3af41e4ed4f85..703423d616cb0f8739d5941a863274e7edb0b75b 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelConfigDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelConfigDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelConfigDecodeErrorZ ret_hu_conv = Result_ChannelConfigDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelConfigDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelConfigDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelConfigDecodeErrorZ ret_hu_conv = Result_ChannelConfigDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 9efbca8ba9327e3272500f1ccf77a413dd4a245a..9eb7c15ee1be8a13dbacdedd5df57aabb5cd2813 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 0099acf516d67b89dc5542ee848d949c366a5122..e8281ef78e80e8843db00e0b17901f8cc4276a66 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelInfoDecodeErrorZ ret_hu_conv = Result_ChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelInfoDecodeErrorZ ret_hu_conv = Result_ChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index df5c335c86fce21e00e89bfd8440eef4a4bfee77..6ec1bea3d0860a13f07fc1a4f423fd77f6006bc9 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelMonitorUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelMonitorUpdateDecodeErrorZ ret_hu_conv = Result_ChannelMonitorUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelMonitorUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelMonitorUpdateDecodeErrorZ ret_hu_conv = Result_ChannelMonitorUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c56540a3b33de5283f7bc7fa551b20ae1d1ac29f..2410d01014c4c3059a5b5b548c6f97fd5c2f85b5 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelPublicKeysDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelPublicKeysDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelPublicKeysDecodeErrorZ ret_hu_conv = Result_ChannelPublicKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelPublicKeysDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelPublicKeysDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelPublicKeysDecodeErrorZ ret_hu_conv = Result_ChannelPublicKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 67b2468d625b8ecdf1909dfceabb02214fab8899..077ecd0e9959a87789e448d14d5849c667af7c49 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelReestablishDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelReestablishDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelReestablishDecodeErrorZ ret_hu_conv = Result_ChannelReestablishDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelReestablishDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelReestablishDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelReestablishDecodeErrorZ ret_hu_conv = Result_ChannelReestablishDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3e3cd57e495a566e21043eb64dcc4e4421ea380f..57beaba65aaadd5bba4d7a105954029f55ca7d62 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelTransactionParametersDecodeErrorZ extends CommonBase
                long ret = bindings.CResult_ChannelTransactionParametersDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_ChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelTransactionParametersDecodeErrorZ extends CommonBase
                long ret = bindings.CResult_ChannelTransactionParametersDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_ChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 20907472e7eb9450b2747389dbabbae1b76c48bc..8769b47f141954350c598d7d36fa77a24022179d 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ChannelUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelUpdateDecodeErrorZ ret_hu_conv = Result_ChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ChannelUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ChannelUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ChannelUpdateDecodeErrorZ ret_hu_conv = Result_ChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index a888b51f461390bce42f034569d3623fdae2dda9..dec898d0ba93afd27c8ed32b6406e92c4011a2f9 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ClosingSignedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ClosingSignedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ClosingSignedDecodeErrorZ ret_hu_conv = Result_ClosingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ClosingSignedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ClosingSignedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ClosingSignedDecodeErrorZ ret_hu_conv = Result_ClosingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index aca5557f4180a3bb0dfed52c4d0827e8af2cd2b0..b17dde5a3afca03ec9a988acc4cfa24ba79721c2 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ClosingSignedFeeRangeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ClosingSignedFeeRangeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ClosingSignedFeeRangeDecodeErrorZ ret_hu_conv = Result_ClosingSignedFeeRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ClosingSignedFeeRangeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ClosingSignedFeeRangeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ClosingSignedFeeRangeDecodeErrorZ ret_hu_conv = Result_ClosingSignedFeeRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 744b3ab2466c8ab17c65de94779a02c7c68cc571..ba24fccef032369576424a11f0a85b45d6f144ac 100644 (file)
@@ -48,7 +48,6 @@ public class Result_CommitmentSignedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_CommitmentSignedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_CommitmentSignedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_CommitmentSignedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index d7b913df367ae2e9deba19f3d1c61d1fd2a9b01c..9b641ff791086512f70508714805f18a95865fcc 100644 (file)
@@ -48,7 +48,6 @@ public class Result_CommitmentTransactionDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_CommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CommitmentTransactionDecodeErrorZ ret_hu_conv = Result_CommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_CommitmentTransactionDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_CommitmentTransactionDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CommitmentTransactionDecodeErrorZ ret_hu_conv = Result_CommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index b556510ad5c6b73f0ec26e63775302ec78b7c24e..ba2c326417b4c3bd06bcdb8f7c9b3116df98f4e7 100644 (file)
@@ -48,7 +48,6 @@ public class Result_CounterpartyChannelTransactionParametersDecodeErrorZ extends
                long ret = bindings.CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CounterpartyChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_CounterpartyChannelTransactionParametersDecodeErrorZ extends
                long ret = bindings.CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_CounterpartyChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3f4791b25ed11275466d32cfb81803e8519c6bc3..ad753cc6050216f6bcc597ac5b403b4361ce059b 100644 (file)
@@ -48,7 +48,6 @@ public class Result_DelayedPaymentOutputDescriptorDecodeErrorZ extends CommonBas
                long ret = bindings.CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_DelayedPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_DelayedPaymentOutputDescriptorDecodeErrorZ extends CommonBas
                long ret = bindings.CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_DelayedPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 28558ed9f988c5e89b1ae195365e706bc47c7006..e75142bbbbdb7b52e018e1ce2958329818eb05f6 100644 (file)
@@ -45,7 +45,6 @@ public class Result_DescriptionCreationErrorZ extends CommonBase {
                long ret = bindings.CResult_DescriptionCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_DescriptionCreationErrorZ ret_hu_conv = Result_DescriptionCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 9d2d0a4753b9c1debc5c4d0253d94bbb39fed0a0..3900b150316731d2d3242b7ea80a326221f04abb 100644 (file)
@@ -48,7 +48,6 @@ public class Result_DirectionalChannelInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_DirectionalChannelInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_DirectionalChannelInfoDecodeErrorZ ret_hu_conv = Result_DirectionalChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_DirectionalChannelInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_DirectionalChannelInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_DirectionalChannelInfoDecodeErrorZ ret_hu_conv = Result_DirectionalChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index cf2970869870398ec1bce82335e0b6b6c7d39306..b87dfc866c5236cb292e5fe461ee950315cbbb17 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ErrorMessageDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ErrorMessageDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ErrorMessageDecodeErrorZ ret_hu_conv = Result_ErrorMessageDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ErrorMessageDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ErrorMessageDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ErrorMessageDecodeErrorZ ret_hu_conv = Result_ErrorMessageDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3e431670ef5fa17661cf4b6498312521c85d26b5..f8b4ac499521a07e5df5e308115ff6481a95f411 100644 (file)
@@ -45,7 +45,6 @@ public class Result_ExpiryTimeCreationErrorZ extends CommonBase {
                long ret = bindings.CResult_ExpiryTimeCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ExpiryTimeCreationErrorZ ret_hu_conv = Result_ExpiryTimeCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index c53184f31a00dd586f3f073e9969e68a374b7569..bd1938a29effd4d95f08d51d05e775c1baf76ab6 100644 (file)
@@ -48,7 +48,6 @@ public class Result_FundingCreatedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_FundingCreatedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_FundingCreatedDecodeErrorZ ret_hu_conv = Result_FundingCreatedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_FundingCreatedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_FundingCreatedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_FundingCreatedDecodeErrorZ ret_hu_conv = Result_FundingCreatedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 9bc93de5dd624c7b7318666a66ca703bd21d25f3..386c0d73f7f68115146774473adf100c9a312c2c 100644 (file)
@@ -48,7 +48,6 @@ public class Result_FundingLockedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_FundingLockedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_FundingLockedDecodeErrorZ ret_hu_conv = Result_FundingLockedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_FundingLockedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_FundingLockedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_FundingLockedDecodeErrorZ ret_hu_conv = Result_FundingLockedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 00f7838ba1cd1deb69e52e0bd5f19541e1cf0bd7..aa7bf85244133c2d80691028a8ba7d6d7be6b3a3 100644 (file)
@@ -48,7 +48,6 @@ public class Result_FundingSignedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_FundingSignedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_FundingSignedDecodeErrorZ ret_hu_conv = Result_FundingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_FundingSignedDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_FundingSignedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_FundingSignedDecodeErrorZ ret_hu_conv = Result_FundingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 39f286047d05765f8147776634ca2d07ab3c6457..db84b80c9e902a76408895b9a08bda435ce7cf58 100644 (file)
@@ -48,7 +48,6 @@ public class Result_GossipTimestampFilterDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_GossipTimestampFilterDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_GossipTimestampFilterDecodeErrorZ ret_hu_conv = Result_GossipTimestampFilterDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_GossipTimestampFilterDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_GossipTimestampFilterDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_GossipTimestampFilterDecodeErrorZ ret_hu_conv = Result_GossipTimestampFilterDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 4e3a6e78e609b3828bfa1bd8cdef49c566407951..7e4b2055867217898d7e3c8f51cc43874989ceec 100644 (file)
@@ -48,7 +48,6 @@ public class Result_HTLCOutputInCommitmentDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_HTLCOutputInCommitmentDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_HTLCOutputInCommitmentDecodeErrorZ ret_hu_conv = Result_HTLCOutputInCommitmentDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_HTLCOutputInCommitmentDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_HTLCOutputInCommitmentDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_HTLCOutputInCommitmentDecodeErrorZ ret_hu_conv = Result_HTLCOutputInCommitmentDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2ed041632a1aafca4b4bbe99a87ef6290d8deb00..f39221c379430bb8c48122b9d46d4cf369947218 100644 (file)
@@ -48,7 +48,6 @@ public class Result_HTLCUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_HTLCUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_HTLCUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_HTLCUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7d8f1a4425ce73832c4c8f881d4d11759e196ad0..500b1a067f9cad4186e35b25730461a4810be5ff 100644 (file)
@@ -48,7 +48,6 @@ public class Result_HolderCommitmentTransactionDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_HolderCommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_HolderCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_HolderCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_HolderCommitmentTransactionDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_HolderCommitmentTransactionDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_HolderCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_HolderCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c08bc7347cf2d24adde544462c7f97e53e7f4f1f..74fade65f09e8b1fb3d70b3c242628b5dbe00119 100644 (file)
@@ -48,7 +48,6 @@ public class Result_InMemorySignerDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InMemorySignerDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InMemorySignerDecodeErrorZ ret_hu_conv = Result_InMemorySignerDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_InMemorySignerDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InMemorySignerDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InMemorySignerDecodeErrorZ ret_hu_conv = Result_InMemorySignerDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index e5d72ca31a33909bbea407a3b0ab4b76ca0cb2a5..8c6a35cbd45535379076db57c43a4e90e89b3c4f 100644 (file)
@@ -48,7 +48,6 @@ public class Result_InitDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InitDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InitDecodeErrorZ ret_hu_conv = Result_InitDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_InitDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InitDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InitDecodeErrorZ ret_hu_conv = Result_InitDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2b5842a8cb27727f637b88a382f96ef65bb64580..bcf7a4ff7aa48c156909e44f6045f60c285101b6 100644 (file)
@@ -48,7 +48,6 @@ public class Result_InitFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InitFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InitFeaturesDecodeErrorZ ret_hu_conv = Result_InitFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_InitFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InitFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InitFeaturesDecodeErrorZ ret_hu_conv = Result_InitFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2a16df933606a8dff7b3e62498e3e145a3c61db8..b9dc9e786777d56a5a65b354b20189cc1ea51593 100644 (file)
@@ -48,7 +48,6 @@ public class Result_InvoiceFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InvoiceFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceFeaturesDecodeErrorZ ret_hu_conv = Result_InvoiceFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_InvoiceFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_InvoiceFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceFeaturesDecodeErrorZ ret_hu_conv = Result_InvoiceFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3e018b807319f9c0851ccf6300dd0a46033c4430..5d841d3397e10c152cdd1ab8b4ca14c678aef74b 100644 (file)
@@ -43,7 +43,6 @@ public class Result_InvoiceNoneZ extends CommonBase {
                long ret = bindings.CResult_InvoiceNoneZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceNoneZ ret_hu_conv = Result_InvoiceNoneZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index edcc9e147a390558e3964843b798c707aebfc792..a564df92387f00daff343b0d106c1de7262db6c4 100644 (file)
@@ -45,7 +45,6 @@ public class Result_InvoiceSemanticErrorZ extends CommonBase {
                long ret = bindings.CResult_InvoiceSemanticErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceSemanticErrorZ ret_hu_conv = Result_InvoiceSemanticErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 6fe8356bf1fafae1f0f1e247a7821ae07e50f406..8fd9c393d2c8f90bf1235b5a73ac4c7cdef5b8af 100644 (file)
@@ -48,7 +48,6 @@ public class Result_InvoiceSignOrCreationErrorZ extends CommonBase {
                long ret = bindings.CResult_InvoiceSignOrCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceSignOrCreationErrorZ ret_hu_conv = Result_InvoiceSignOrCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 608bff1815135aad925bccacdcd9909f3a0f9a09..7af576bd5ea12b84f84c064e5a1622687fd73c6a 100644 (file)
@@ -58,7 +58,6 @@ public class Result_NetAddressDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NetAddressDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NetAddressDecodeErrorZ ret_hu_conv = Result_NetAddressDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ee85fbc3f62b410ddfa6b909a196f7a62b67981d..5d338e212306929573f001cadf0ca6d8303efb27 100644 (file)
@@ -48,7 +48,6 @@ public class Result_NetworkGraphDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NetworkGraphDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NetworkGraphDecodeErrorZ ret_hu_conv = Result_NetworkGraphDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_NetworkGraphDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NetworkGraphDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NetworkGraphDecodeErrorZ ret_hu_conv = Result_NetworkGraphDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3439d1ec74d1228ba8939ab204b56d7a82016b8d..737f3feb7969dd8d4a88d9e35db41ee37d8ace04 100644 (file)
@@ -48,7 +48,6 @@ public class Result_NodeAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeAnnouncementDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_NodeAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeAnnouncementDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index fc9d2079cd9434fb2e14be436d2be084210692e9..c8c12e1e1bcda9ea7a82f7b54ffee7e3fa6a78a8 100644 (file)
@@ -48,7 +48,6 @@ public class Result_NodeAnnouncementInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeAnnouncementInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeAnnouncementInfoDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_NodeAnnouncementInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeAnnouncementInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeAnnouncementInfoDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 907204c9edcd68535afe4913d1a46e11d676c520..a4463a84c730ff537f0b9f8f2d52b1476cb581db 100644 (file)
@@ -48,7 +48,6 @@ public class Result_NodeFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeFeaturesDecodeErrorZ ret_hu_conv = Result_NodeFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_NodeFeaturesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeFeaturesDecodeErrorZ ret_hu_conv = Result_NodeFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3d627f116c9a3d1b73528671ea66fb0e703ca515..19f5a7cd241895641021dc54932838307a7a2573 100644 (file)
@@ -48,7 +48,6 @@ public class Result_NodeInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_NodeInfoDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_NodeInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 69ac5768809bff396bba34047ecfd17cd556e0b0..225e22eae9abac9335f8cccbcc5e7e074d7ff5a3 100644 (file)
@@ -53,7 +53,6 @@ public class Result_NoneLightningErrorZ extends CommonBase {
                long ret = bindings.CResult_NoneLightningErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 88cec61fcb3ada6457db5206674e1b5ff6c7c034..a8b684aca530ae0d0499d1b0d23efc5675da3bec 100644 (file)
@@ -53,7 +53,6 @@ public class Result_NoneMonitorUpdateErrorZ extends CommonBase {
                long ret = bindings.CResult_NoneMonitorUpdateErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneMonitorUpdateErrorZ ret_hu_conv = Result_NoneMonitorUpdateErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index be711982a229e163bb724bda789eba4258a5aed1..2e8dd66ff8fb05bea28e2126eece15b63e4c1b24 100644 (file)
@@ -53,7 +53,6 @@ public class Result_NonePeerHandleErrorZ extends CommonBase {
                long ret = bindings.CResult_NonePeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 02e8d1dc4bb22909ac547babd4ddd88e9e72b711..ffcc17916155617a77bba8380d927002fb8e332d 100644 (file)
@@ -48,7 +48,6 @@ public class Result_OpenChannelDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_OpenChannelDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_OpenChannelDecodeErrorZ ret_hu_conv = Result_OpenChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_OpenChannelDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_OpenChannelDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_OpenChannelDecodeErrorZ ret_hu_conv = Result_OpenChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 45948abe8f73f781bff39c7c21f3705b597e7c62..4e9930ce4ad8c7df71113ec98f9cfdbb5b1468d0 100644 (file)
@@ -48,7 +48,6 @@ public class Result_OutPointDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_OutPointDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_OutPointDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_OutPointDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 27924358188042fa973034de537bae200cc98162..7ac3130ebc272bedbb08a371d2445811bbaf9f8c 100644 (file)
@@ -45,7 +45,6 @@ public class Result_PayeePubKeyErrorZ extends CommonBase {
                long ret = bindings.CResult_PayeePubKeyErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PayeePubKeyErrorZ ret_hu_conv = Result_PayeePubKeyErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 5953cea23eeeb786530b06b59a7fd68c77126e94..8c5d11cad54306238a6511b9fb58c7b0d5c3c7d1 100644 (file)
@@ -48,7 +48,6 @@ public class Result_PingDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_PingDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PingDecodeErrorZ ret_hu_conv = Result_PingDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_PingDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_PingDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PingDecodeErrorZ ret_hu_conv = Result_PingDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index d18a1f6e8c6a9a96b6016ffeeea46e92f4a1afb3..5a533b453a6c744bb0f408eeaa06c663db54a41d 100644 (file)
@@ -48,7 +48,6 @@ public class Result_PongDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_PongDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PongDecodeErrorZ ret_hu_conv = Result_PongDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_PongDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_PongDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PongDecodeErrorZ ret_hu_conv = Result_PongDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 994822c2cb52b6ba874ccd7f4f2bdff7990e3a93..425ebbed668db046a1ae02893669f9b2609ceb9f 100644 (file)
@@ -45,7 +45,6 @@ public class Result_PositiveTimestampCreationErrorZ extends CommonBase {
                long ret = bindings.CResult_PositiveTimestampCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PositiveTimestampCreationErrorZ ret_hu_conv = Result_PositiveTimestampCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index ea1d96de71d6d48c7b8cd497aea99ba9f9c58d1f..fcc84afba74de438fcee2a9e866dfea6ddbbcb69 100644 (file)
@@ -45,7 +45,6 @@ public class Result_PrivateRouteCreationErrorZ extends CommonBase {
                long ret = bindings.CResult_PrivateRouteCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_PrivateRouteCreationErrorZ ret_hu_conv = Result_PrivateRouteCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 8b7ea87d33c10a55984323d0e43c772a121f9b4d..3e3b469add07947d0cfca4e76920af4c038f2081 100644 (file)
@@ -48,7 +48,6 @@ public class Result_QueryChannelRangeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_QueryChannelRangeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_QueryChannelRangeDecodeErrorZ ret_hu_conv = Result_QueryChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_QueryChannelRangeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_QueryChannelRangeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_QueryChannelRangeDecodeErrorZ ret_hu_conv = Result_QueryChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index a203a8f0a74c3c2145e8360d868ec8d0a2dd9fcc..60648b39b7e88f2e1823fb82b156dd00a8f939a1 100644 (file)
@@ -48,7 +48,6 @@ public class Result_QueryShortChannelIdsDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_QueryShortChannelIdsDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_QueryShortChannelIdsDecodeErrorZ ret_hu_conv = Result_QueryShortChannelIdsDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_QueryShortChannelIdsDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_QueryShortChannelIdsDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_QueryShortChannelIdsDecodeErrorZ ret_hu_conv = Result_QueryShortChannelIdsDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 5c59bc908e0d65457f4e45fd759c6a3cbcc9c8db..3a05b8b124980aa9a1d1d5188253fc229378e0dc 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ReplyChannelRangeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ReplyChannelRangeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ReplyChannelRangeDecodeErrorZ ret_hu_conv = Result_ReplyChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ReplyChannelRangeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ReplyChannelRangeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ReplyChannelRangeDecodeErrorZ ret_hu_conv = Result_ReplyChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 4b7cf3cb041fdb5d7c6ec548e85005831f51d20f..a1f2d0f8aa2286535da0099a1bcb76332e4695c0 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index b531a774f6e708a675150a5713dd22c738988f5c..c29567b0fc8fc9c275065577733f756c8be20900 100644 (file)
@@ -48,7 +48,6 @@ public class Result_RevokeAndACKDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RevokeAndACKDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RevokeAndACKDecodeErrorZ ret_hu_conv = Result_RevokeAndACKDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_RevokeAndACKDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RevokeAndACKDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RevokeAndACKDecodeErrorZ ret_hu_conv = Result_RevokeAndACKDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index d2c528b8303816a7119c668b93f52c10a1852014..fa60cda5ff7f4d8a9be87dc9a33818d4b930a764 100644 (file)
@@ -48,7 +48,6 @@ public class Result_RouteDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RouteDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RouteDecodeErrorZ ret_hu_conv = Result_RouteDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_RouteDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RouteDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RouteDecodeErrorZ ret_hu_conv = Result_RouteDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index e2f1a77fc76ca71bd45c746d004d600ac6f84a2d..331ecaddfa687226444f93a81d98190e713cdb76 100644 (file)
@@ -48,7 +48,6 @@ public class Result_RouteHopDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RouteHopDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RouteHopDecodeErrorZ ret_hu_conv = Result_RouteHopDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_RouteHopDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RouteHopDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RouteHopDecodeErrorZ ret_hu_conv = Result_RouteHopDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 775fcd9c09bf1a21ef7880886a7e0333b227d4c9..916e9bfac2a3a1e5239b448a6b926496a162e8be 100644 (file)
@@ -48,7 +48,6 @@ public class Result_RouteLightningErrorZ extends CommonBase {
                long ret = bindings.CResult_RouteLightningErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_RouteLightningErrorZ extends CommonBase {
                long ret = bindings.CResult_RouteLightningErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7aedaa6378f27f3766f65f61f6a49f8ae838b562..c0cd7d1d56fcc1ab2e28bd72a61c8777f00349cc 100644 (file)
@@ -48,7 +48,6 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RoutingFeesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_RoutingFeesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 48e31eb1acf858c4637aafa3d38eb5381d7820a9..2a7a167e990f101da9719c32c10e982ca95b3406 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ShutdownDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ShutdownDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ShutdownDecodeErrorZ ret_hu_conv = Result_ShutdownDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ShutdownDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ShutdownDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ShutdownDecodeErrorZ ret_hu_conv = Result_ShutdownDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c254987849383271feb0f15e97869232ff9cb8c1..923b0677a28ff66a986c0f5d7f4f46e0baf54b4f 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ShutdownScriptDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ShutdownScriptDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ShutdownScriptDecodeErrorZ ret_hu_conv = Result_ShutdownScriptDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_ShutdownScriptDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_ShutdownScriptDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ShutdownScriptDecodeErrorZ ret_hu_conv = Result_ShutdownScriptDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2126ec0f5dcbd80c263ca488344ba3da82762a7c..f456455d3f34439eccde204dec6c737379235f90 100644 (file)
@@ -48,7 +48,6 @@ public class Result_ShutdownScriptInvalidShutdownScriptZ extends CommonBase {
                long ret = bindings.CResult_ShutdownScriptInvalidShutdownScriptZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_ShutdownScriptInvalidShutdownScriptZ ret_hu_conv = Result_ShutdownScriptInvalidShutdownScriptZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 5d454d8abf01a3f25ea6805327367831604be495..43e028543575c04906599073afc6964f88c8e7cb 100644 (file)
@@ -59,7 +59,6 @@ public class Result_SignDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_SignDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_SignDecodeErrorZ ret_hu_conv = Result_SignDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 593dcdc34fb8f0e45973a55fccea444059701b39..0e936f8c3ba973b1d38a0aef3fbea9ea0a96d4da 100644 (file)
@@ -43,7 +43,6 @@ public class Result_SignedRawInvoiceNoneZ extends CommonBase {
                long ret = bindings.CResult_SignedRawInvoiceNoneZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_SignedRawInvoiceNoneZ ret_hu_conv = Result_SignedRawInvoiceNoneZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index c01dd857a60f6d1a223779506d75e92be88a8438..4c5a0c0a7e6cf07f7f369b3e386cce9fb058af85 100644 (file)
@@ -58,7 +58,6 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_SpendableOutputDescriptorDecodeErrorZ ret_hu_conv = Result_SpendableOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 475a4aeae9e6f8d8ef1b0e8c06c0707f1d615c48..e6e324becb0c7801cbf2474cf4557827e422b43a 100644 (file)
@@ -48,7 +48,6 @@ public class Result_StaticPaymentOutputDescriptorDecodeErrorZ extends CommonBase
                long ret = bindings.CResult_StaticPaymentOutputDescriptorDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_StaticPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_StaticPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_StaticPaymentOutputDescriptorDecodeErrorZ extends CommonBase
                long ret = bindings.CResult_StaticPaymentOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_StaticPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_StaticPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2ca2053c82aa32b8382c0b3bd87a52b52d40dd29..95885e33befd478ce6fdc50ec28500f65a337e90 100644 (file)
@@ -48,7 +48,6 @@ public class Result_TxCreationKeysDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_TxCreationKeysDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_TxCreationKeysDecodeErrorZ ret_hu_conv = Result_TxCreationKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_TxCreationKeysDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_TxCreationKeysDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_TxCreationKeysDecodeErrorZ ret_hu_conv = Result_TxCreationKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 8528e911678be460c5f94aa1ccd80dfc6974bf92..592be8be15965f872aaed309de9467cecfbf1595 100644 (file)
@@ -45,7 +45,6 @@ public class Result_TxCreationKeysErrorZ extends CommonBase {
                long ret = bindings.CResult_TxCreationKeysErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_TxCreationKeysErrorZ ret_hu_conv = Result_TxCreationKeysErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 0f85cdfcda29e89d729333a5707114ef391cdbcf..b656add76dad5a62b248ba837c3e187a7cf0fcb5 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UnsignedChannelAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UnsignedChannelAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7cff904409b28d5a15b547b1e5f853b36aadacd3..2a64ca926aae7764bf2132833bf858c320d45326 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UnsignedChannelUpdateDecodeErrorZ ret_hu_conv = Result_UnsignedChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UnsignedChannelUpdateDecodeErrorZ ret_hu_conv = Result_UnsignedChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 020b54f328328a88cdc9163ffb44380d7d7506f5..aee7016774b1f6a0502ecdfcf22997af2aa18e51 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UnsignedNodeAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UnsignedNodeAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedNodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UnsignedNodeAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UnsignedNodeAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedNodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 91428f87a210e44959b6d1cc1aecf639648d9f14..92129ee89fe645c6d2a4737da6319703d77aa8a8 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UpdateAddHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateAddHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateAddHTLCDecodeErrorZ ret_hu_conv = Result_UpdateAddHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UpdateAddHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateAddHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateAddHTLCDecodeErrorZ ret_hu_conv = Result_UpdateAddHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 8d83f7a19c562a2fdd25aa4d7eff34d3bb6415de..d387c7c996a354934318ca9141e40c8ff47dbd20 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UpdateFailHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFailHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFailHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UpdateFailHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFailHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFailHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 5e05a3f2de3409e1fd96ef9c9ab2d6dde844422b..58d27ecf21ac298e581f208fc91567b6060b94f8 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UpdateFailMalformedHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFailMalformedHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFailMalformedHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailMalformedHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UpdateFailMalformedHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFailMalformedHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFailMalformedHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailMalformedHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3004b3ec3440769b8ffd78f7a3dcd02f26678f0d..b32fc569fec5451b879b93831f4234453c1e362e 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UpdateFeeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFeeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UpdateFeeDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFeeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 0f2302dca00289f582cf7e6a2519a195920593aa..48987a9464ac5c3318a02e72e15d9b60ca464061 100644 (file)
@@ -48,7 +48,6 @@ public class Result_UpdateFulfillHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFulfillHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFulfillHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFulfillHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ public class Result_UpdateFulfillHTLCDecodeErrorZ extends CommonBase {
                long ret = bindings.CResult_UpdateFulfillHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_UpdateFulfillHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFulfillHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index a3a91d1dadc5ffa754e15789d49740942d464f10..2258d367b0ee63fc1adb9a2b6658bd6786b9604c 100644 (file)
@@ -55,7 +55,6 @@ public class Result_boolLightningErrorZ extends CommonBase {
                long ret = bindings.CResult_boolLightningErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_boolLightningErrorZ ret_hu_conv = Result_boolLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 470321fcaa1644d3ca1cd6dba52667161d533d70..cde911e5ce5771c20b69e6db4e8d825ee8a7d754 100644 (file)
@@ -55,7 +55,6 @@ public class Result_boolPeerHandleErrorZ extends CommonBase {
                long ret = bindings.CResult_boolPeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_boolPeerHandleErrorZ ret_hu_conv = Result_boolPeerHandleErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 769f3eb27850be1f9fe78ca4ba29ff4cb3d6804a..6aad4ee74d3e865bd2d8d4ec3527aa8a7da3e170 100644 (file)
@@ -55,7 +55,6 @@ public class Route extends CommonBase {
         */
        public void set_paths(RouteHop[][] val) {
                bindings.Route_set_paths(this.ptr, val != null ? Arrays.stream(val).map(val_conv_12 -> val_conv_12 != null ? Arrays.stream(val_conv_12).mapToLong(val_conv_12_conv_10 -> val_conv_12_conv_10 == null ? 0 : val_conv_12_conv_10.ptr & ~1).toArray() : null).toArray(long[][]::new) : null);
-               for (RouteHop[] val_conv_12: val) { for (RouteHop val_conv_12_conv_10: val_conv_12) { this.ptrs_to.add(val_conv_12_conv_10); }; };
        }
 
        /**
@@ -66,7 +65,6 @@ public class Route extends CommonBase {
                if (ret < 1024) { return null; }
                Route ret_hu_conv = new Route(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               for (RouteHop[] paths_arg_conv_12: paths_arg) { for (RouteHop paths_arg_conv_12_conv_10: paths_arg_conv_12) { ret_hu_conv.ptrs_to.add(paths_arg_conv_12_conv_10); }; };
                return ret_hu_conv;
        }
 
index 744871efe0d4dc4c877fc542d322a645630adee7..c9f121141fa79d5079fc1223143fc81f4f845a9e 100644 (file)
@@ -65,7 +65,6 @@ public class RouteHintHop extends CommonBase {
         */
        public void set_fees(RoutingFees val) {
                bindings.RouteHintHop_set_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -127,7 +126,6 @@ public class RouteHintHop extends CommonBase {
                if (ret < 1024) { return null; }
                RouteHintHop ret_hu_conv = new RouteHintHop(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(fees_arg);
                return ret_hu_conv;
        }
 
index 5d130ff2e107dda607e8b7042179e60ff1284c64..a8d0e9ffd0f77ccdec80942630e3c097cfb77a22 100644 (file)
@@ -52,7 +52,6 @@ public class RouteHop extends CommonBase {
         */
        public void set_node_features(NodeFeatures val) {
                bindings.RouteHop_set_node_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -88,7 +87,6 @@ public class RouteHop extends CommonBase {
         */
        public void set_channel_features(ChannelFeatures val) {
                bindings.RouteHop_set_channel_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -135,8 +133,6 @@ public class RouteHop extends CommonBase {
                if (ret < 1024) { return null; }
                RouteHop ret_hu_conv = new RouteHop(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(node_features_arg);
-               ret_hu_conv.ptrs_to.add(channel_features_arg);
                return ret_hu_conv;
        }
 
index fc7b1281e9ef528a0a774c56f2d11f375ad6d66b..9791eeeaa456d1229683c37afd85d6bf4c13edbc 100644 (file)
@@ -121,7 +121,6 @@ public class RoutingMessageHandler extends CommonBase {
                        @Override public long[] get_next_node_announcements(byte[] starting_point, byte batch_amount) {
                                NodeAnnouncement[] ret = arg.get_next_node_announcements(starting_point, batch_amount);
                                long[] result = ret != null ? Arrays.stream(ret).mapToLong(ret_conv_18 -> ret_conv_18 == null ? 0 : ret_conv_18.ptr & ~1).toArray() : null;
-                               for (NodeAnnouncement ret_conv_18: ret) { impl_holder.held.ptrs_to.add(ret_conv_18); };
                                return result;
                        }
                        @Override public void sync_routing_table(byte[] their_node_id, long init) {
@@ -261,7 +260,6 @@ public class RoutingMessageHandler extends CommonBase {
                long ret = bindings.RoutingMessageHandler_handle_reply_channel_range(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -275,7 +273,6 @@ public class RoutingMessageHandler extends CommonBase {
                long ret = bindings.RoutingMessageHandler_handle_reply_short_channel_ids_end(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -287,7 +284,6 @@ public class RoutingMessageHandler extends CommonBase {
                long ret = bindings.RoutingMessageHandler_handle_query_channel_range(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -299,7 +295,6 @@ public class RoutingMessageHandler extends CommonBase {
                long ret = bindings.RoutingMessageHandler_handle_query_short_channel_ids(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index d97b4f6074ed90aa2ad25ad962934397eeb4bbf3..f6343a16847dd115c0322482a96f613ed00d8cd7 100644 (file)
@@ -116,7 +116,7 @@ public class ShutdownScript extends CommonBase {
         */
        public byte[] into_inner() {
                byte[] ret = bindings.ShutdownScript_into_inner(this.ptr);
-               this.ptrs_to.add(this);
+               ;
                return ret;
        }
 
index 0a9d65af4d9c32b918533d2d36562510a61f96d4..d884c2e287654f04e83700503736d97521f4ac1c 100644 (file)
@@ -21,7 +21,6 @@ public class Sign extends CommonBase {
                super(bindings.LDKSign_new(arg, BaseSign, pubkeys == null ? 0 : pubkeys.ptr & ~1));
                this.ptrs_to.add(arg);
                this.ptrs_to.add(BaseSign);
-               this.ptrs_to.add(pubkeys);
                this.bindings_instance = arg;
        }
        @Override @SuppressWarnings("deprecation")
index f087a97c85d787cc4391474dcc90e59ea0b848bc..7b3c01bcf9f30f0c84c29218f5411687363760c5 100644 (file)
@@ -81,7 +81,6 @@ public class SignOrCreationError extends CommonBase {
         */
        public boolean eq(SignOrCreationError b) {
                boolean ret = bindings.SignOrCreationError_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }
 
index c6bf94a5609742746742e9d021f79c0901d6d77d..90714a619fb3e93c74f1ea135a50085aca1eeedf 100644 (file)
@@ -56,7 +56,7 @@ public class SignedRawInvoice extends CommonBase {
                if (ret < 1024) { return null; }
                ThreeTuple_RawInvoice_u832InvoiceSignatureZ ret_hu_conv = new ThreeTuple_RawInvoice_u832InvoiceSignatureZ(null, ret);
                ret_hu_conv.ptrs_to.add(this);
-               this.ptrs_to.add(this);
+               ;
                return ret_hu_conv;
        }
 
index ea1b4fd6d821db6f11ecc8f8da3a5d77466733ec..8f859fa691749bc928a88c60908f414d27f0aabb 100644 (file)
@@ -95,7 +95,6 @@ public class SpendableOutputDescriptor extends CommonBase {
                if (ret < 1024) { return null; }
                SpendableOutputDescriptor ret_hu_conv = SpendableOutputDescriptor.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint);
                return ret_hu_conv;
        }
 
@@ -107,7 +106,6 @@ public class SpendableOutputDescriptor extends CommonBase {
                if (ret < 1024) { return null; }
                SpendableOutputDescriptor ret_hu_conv = SpendableOutputDescriptor.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
@@ -119,7 +117,6 @@ public class SpendableOutputDescriptor extends CommonBase {
                if (ret < 1024) { return null; }
                SpendableOutputDescriptor ret_hu_conv = SpendableOutputDescriptor.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
index ee0685a0e0546915e769e95906bb2709a1e7c533..a487e0278629b00b22d02a0ce8dd8581bdc13f08 100644 (file)
@@ -36,7 +36,6 @@ public class StaticPaymentOutputDescriptor extends CommonBase {
         */
        public void set_outpoint(OutPoint val) {
                bindings.StaticPaymentOutputDescriptor_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -88,7 +87,6 @@ public class StaticPaymentOutputDescriptor extends CommonBase {
                if (ret < 1024) { return null; }
                StaticPaymentOutputDescriptor ret_hu_conv = new StaticPaymentOutputDescriptor(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint_arg);
                return ret_hu_conv;
        }
 
index 38761c9a9a7587504aa28033fddd156ee6e6d1a8..bc259309ffb3bc1835ef3c5705f698beb0fad19c 100644 (file)
@@ -51,8 +51,8 @@ public class TwoTuple_BlockHashChannelManagerZ extends CommonBase {
                ret_hu_conv.ptrs_to.add(b_tx_broadcaster);
                ret_hu_conv.ptrs_to.add(b_logger);
                ret_hu_conv.ptrs_to.add(b_keys_manager);
-               ret_hu_conv.ptrs_to.add(b_config);
-               ret_hu_conv.ptrs_to.add(b_params);
+               ;
+               ;
                return ret_hu_conv;
        }
 
index 5b994aa0c890b3ef0eafb7714702650e4ee5d646..1eba26badb36ae8380ed1d69fdd61a2656ab3e91 100644 (file)
@@ -58,7 +58,6 @@ public class TwoTuple_BlockHashChannelMonitorZ extends CommonBase {
                if (ret < 1024) { return null; }
                TwoTuple_BlockHashChannelMonitorZ ret_hu_conv = new TwoTuple_BlockHashChannelMonitorZ(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(b);
                return ret_hu_conv;
        }
 
index b12838426014230392db9779fb0d540b32a6ac53..a16beaaca92c7985912800d82422e9288b6462a1 100644 (file)
@@ -58,7 +58,6 @@ public class TwoTuple_OutPointScriptZ extends CommonBase {
                if (ret < 1024) { return null; }
                TwoTuple_OutPointScriptZ ret_hu_conv = new TwoTuple_OutPointScriptZ(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
index 4f789fa42560d521ba8709602b637686bc3784c2..d0ff748a6602f04ba5d60635ab50101543f1c46b 100644 (file)
@@ -35,7 +35,6 @@ public class UnsignedChannelAnnouncement extends CommonBase {
         */
        public void set_features(ChannelFeatures val) {
                bindings.UnsignedChannelAnnouncement_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
index 037957eef9716febf6dfe42e6f321eadd7a49b1b..1014dbee349f543071621dd09a1dab9f5aa8996d 100644 (file)
@@ -35,7 +35,6 @@ public class UnsignedNodeAnnouncement extends CommonBase {
         */
        public void set_features(NodeFeatures val) {
                bindings.UnsignedNodeAnnouncement_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
index 3b1f2a90d87bf17a9d0e01027d2ba9357a13c54a..c87a27f798b834538ad9853473b8190cc7f118f4 100644 (file)
@@ -38,7 +38,6 @@ public class UserConfig extends CommonBase {
         */
        public void set_own_channel_config(ChannelHandshakeConfig val) {
                bindings.UserConfig_set_own_channel_config(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -57,7 +56,6 @@ public class UserConfig extends CommonBase {
         */
        public void set_peer_channel_config_limits(ChannelHandshakeLimits val) {
                bindings.UserConfig_set_peer_channel_config_limits(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -76,7 +74,6 @@ public class UserConfig extends CommonBase {
         */
        public void set_channel_options(ChannelConfig val) {
                bindings.UserConfig_set_channel_options(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -132,9 +129,6 @@ public class UserConfig extends CommonBase {
                if (ret < 1024) { return null; }
                UserConfig ret_hu_conv = new UserConfig(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(own_channel_config_arg);
-               ret_hu_conv.ptrs_to.add(peer_channel_config_limits_arg);
-               ret_hu_conv.ptrs_to.add(channel_options_arg);
                return ret_hu_conv;
        }
 
index d2fb44384eaf1feb25d8cc49cb7560236b6451cd..5a59f559389322f23d726894365a1e68fcdd8003 100644 (file)
@@ -59,7 +59,7 @@ public class UtilMethods {
                ret_hu_conv.ptrs_to.add(arg_chain_monitor);
                ret_hu_conv.ptrs_to.add(arg_tx_broadcaster);
                ret_hu_conv.ptrs_to.add(arg_logger);
-               ret_hu_conv.ptrs_to.add(arg_default_config);
+               ;
                for (ChannelMonitor arg_channel_monitors_conv_16: arg_channel_monitors) { ret_hu_conv.ptrs_to.add(arg_channel_monitors_conv_16); };
                return ret_hu_conv;
        }
@@ -77,7 +77,6 @@ public class UtilMethods {
         */
        public static byte[] build_closing_transaction(long to_holder_value_sat, long to_counterparty_value_sat, byte[] to_holder_script, byte[] to_counterparty_script, OutPoint funding_outpoint) {
                byte[] ret = bindings.build_closing_transaction(to_holder_value_sat, to_counterparty_value_sat, to_holder_script, to_counterparty_script, funding_outpoint == null ? 0 : funding_outpoint.ptr & ~1);
-               // this.ptrs_to.add(funding_outpoint);
                return ret;
        }
 
@@ -219,7 +218,6 @@ public class UtilMethods {
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(network);
                for (ChannelDetails first_hops_conv_16: first_hops) { ret_hu_conv.ptrs_to.add(first_hops_conv_16); };
-               for (RouteHint last_hops_conv_11: last_hops) { ret_hu_conv.ptrs_to.add(last_hops_conv_11); };
                ret_hu_conv.ptrs_to.add(logger);
                return ret_hu_conv;
        }
@@ -253,9 +251,7 @@ public class UtilMethods {
                if (ret < 1024) { return null; }
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(network);
-               ret_hu_conv.ptrs_to.add(payee_features);
                for (ChannelDetails first_hops_conv_16: first_hops) { ret_hu_conv.ptrs_to.add(first_hops_conv_16); };
-               for (RouteHint last_hops_conv_11: last_hops) { ret_hu_conv.ptrs_to.add(last_hops_conv_11); };
                ret_hu_conv.ptrs_to.add(logger);
                return ret_hu_conv;
        }
index 0e51ba744c5d64396bc49dfe716a8714dc6e89f3..0bf1944fa2473d8461d1ac9af0c9de66f868774b 100644 (file)
@@ -117,8 +117,6 @@ public class Watch extends CommonBase {
                long ret = bindings.Watch_watch_channel(this.ptr, funding_txo == null ? 0 : funding_txo.ptr & ~1, monitor == null ? 0 : monitor.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(funding_txo);
-               this.ptrs_to.add(monitor);
                return ret_hu_conv;
        }
 
@@ -135,8 +133,6 @@ public class Watch extends CommonBase {
                long ret = bindings.Watch_update_channel(this.ptr, funding_txo == null ? 0 : funding_txo.ptr & ~1, update == null ? 0 : update.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(funding_txo);
-               this.ptrs_to.add(update);
                return ret_hu_conv;
        }
 
index bb38965aeee054295ebe7dbf69bb35ffd249a7e5..1a90bb332690ee4fe7957b3edbc615355079e414 100644 (file)
@@ -65,7 +65,6 @@ public class WatchedOutput extends CommonBase {
         */
        public void set_outpoint(OutPoint val) {
                bindings.WatchedOutput_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -91,7 +90,6 @@ public class WatchedOutput extends CommonBase {
                if (ret < 1024) { return null; }
                WatchedOutput ret_hu_conv = new WatchedOutput(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint_arg);
                return ret_hu_conv;
        }
 
index 234c7b787703991e49f02cdc4ea41494717a7e09..7b68692ce96833b1f78615e3194214f69f8d1c79 100644 (file)
@@ -123,7 +123,6 @@ export class IncompatibleShutdownScript extends APIError {
                number ret = bindings.APIError_incompatible_shutdown_script(script == null ? 0 : script.ptr & ~1);
                APIError ret_hu_conv = APIError.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(script);
                return ret_hu_conv;
        }
 
index c672712b955dec05b04aae84ad806ce8094ee9ad..c7ff0db9a81ef668277ca631e96f903ab1cb97dc 100644 (file)
@@ -97,7 +97,6 @@ export class MaybeClaimableHTLCAwaitingTimeout extends Balance {
 
        public boolean eq(Balance b) {
                boolean ret = bindings.Balance_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }
 
index 3cfce2c17289a0ac8d7e7aee262a4de39a344eb5..1aa749f69f5679605c8cf8dc1862931ad1d9ba04 100644 (file)
@@ -17,8 +17,7 @@ import * as bindings from '../bindings' // TODO: figure out location
                                        // TODO: private constructor instantiation
                                        super(bindings.LDKBaseSign_new(arg, pubkeys == null ? 0 : pubkeys.ptr & ~1));
                                        this.ptrs_to.push(arg);
-                                       this.ptrs_to.add(pubkeys);
-
+                                       
                                    }
                 }
 
index 4c1c9ef9e7010ade4474be723a3891421f598f75..8e2ff3445e72a0bd33d7aba00c1351bf4f9eb40d 100644 (file)
@@ -38,7 +38,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                        ret_conv_9_hu_conv.ptrs_to.add(this);
                        ret_conv_9_arr[j] = ret_conv_9_hu_conv;
                }
-               for (ChannelDetails ignored_channels_conv_16: ignored_channels) { this.ptrs_to.add(ignored_channels_conv_16); };
                return ret_conv_9_arr;
        }
 
index 092e96b2335b8a413ea30db6fd30e8f5f57e5c28..292a85f19a4504385b51d0e5eff24b2bfc4f04ff 100644 (file)
@@ -36,14 +36,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_best_block(BestBlock val) {
                bindings.ChainParameters_set_best_block(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChainParameters constructor_new(Network network_arg, BestBlock best_block_arg) {
                number ret = bindings.ChainParameters_new(network_arg, best_block_arg == null ? 0 : best_block_arg.ptr & ~1);
                const ret_hu_conv: ChainParameters = new ChainParameters(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(best_block_arg);
                return ret_hu_conv;
        }
 
index 5111590e05a1cc65d3403ba6496ea873aec00b14..62e42cbe5973af8ab03c5a0c251dce277dbe4e27 100644 (file)
@@ -63,14 +63,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_contents(UnsignedChannelAnnouncement val) {
                bindings.ChannelAnnouncement_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelAnnouncement constructor_new(Uint8Array node_signature_1_arg, Uint8Array node_signature_2_arg, Uint8Array bitcoin_signature_1_arg, Uint8Array bitcoin_signature_2_arg, UnsignedChannelAnnouncement contents_arg) {
                number ret = bindings.ChannelAnnouncement_new(node_signature_1_arg, node_signature_2_arg, bitcoin_signature_1_arg, bitcoin_signature_2_arg, contents_arg == null ? 0 : contents_arg.ptr & ~1);
                const ret_hu_conv: ChannelAnnouncement = new ChannelAnnouncement(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }
 
index 3c85908eb23b6f5b7ccc9610a4d493ec8275fd81..6e3d03b69d7fc9942072be6e18cfe1bf9b52f87d 100644 (file)
@@ -36,7 +36,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(InitFeatures val) {
                bindings.ChannelCounterparty_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_unspendable_punishment_reserve() {
@@ -57,15 +56,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_forwarding_info(CounterpartyForwardingInfo val) {
                bindings.ChannelCounterparty_set_forwarding_info(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelCounterparty constructor_new(Uint8Array node_id_arg, InitFeatures features_arg, number unspendable_punishment_reserve_arg, CounterpartyForwardingInfo forwarding_info_arg) {
                number ret = bindings.ChannelCounterparty_new(node_id_arg, features_arg == null ? 0 : features_arg.ptr & ~1, unspendable_punishment_reserve_arg, forwarding_info_arg == null ? 0 : forwarding_info_arg.ptr & ~1);
                const ret_hu_conv: ChannelCounterparty = new ChannelCounterparty(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(forwarding_info_arg);
                return ret_hu_conv;
        }
 
index 9e55d0caa1b28d0e86d676626ba1e021f7dc3a45..1e4e72e43cfc783014fd23000db99d84e42186ee 100644 (file)
@@ -36,7 +36,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_counterparty(ChannelCounterparty val) {
                bindings.ChannelDetails_set_counterparty(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public OutPoint get_funding_txo() {
@@ -48,7 +47,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_funding_txo(OutPoint val) {
                bindings.ChannelDetails_set_funding_txo(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Option_u64Z get_short_channel_id() {
@@ -171,8 +169,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.ChannelDetails_new(channel_id_arg, counterparty_arg == null ? 0 : counterparty_arg.ptr & ~1, funding_txo_arg == null ? 0 : funding_txo_arg.ptr & ~1, short_channel_id_arg.ptr, channel_value_satoshis_arg, unspendable_punishment_reserve_arg.ptr, user_id_arg, outbound_capacity_msat_arg, inbound_capacity_msat_arg, confirmations_required_arg.ptr, force_close_spend_delay_arg.ptr, is_outbound_arg, is_funding_locked_arg, is_usable_arg, is_public_arg);
                const ret_hu_conv: ChannelDetails = new ChannelDetails(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(counterparty_arg);
-               ret_hu_conv.ptrs_to.add(funding_txo_arg);
                return ret_hu_conv;
        }
 
index c86fe579a8e925f596288baeea053248eccf8f64..75971bafb25db4ae2386b2f8c2c3ee0bd5d7d5d3 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(ChannelFeatures val) {
                bindings.ChannelInfo_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_node_one() {
@@ -48,7 +47,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_one_to_two(DirectionalChannelInfo val) {
                bindings.ChannelInfo_set_one_to_two(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_node_two() {
@@ -69,7 +67,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_two_to_one(DirectionalChannelInfo val) {
                bindings.ChannelInfo_set_two_to_one(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Option_u64Z get_capacity_sats() {
@@ -92,17 +89,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_announcement_message(ChannelAnnouncement val) {
                bindings.ChannelInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelInfo constructor_new(ChannelFeatures features_arg, Uint8Array node_one_arg, DirectionalChannelInfo one_to_two_arg, Uint8Array node_two_arg, DirectionalChannelInfo two_to_one_arg, Option_u64Z capacity_sats_arg, ChannelAnnouncement announcement_message_arg) {
                number ret = bindings.ChannelInfo_new(features_arg == null ? 0 : features_arg.ptr & ~1, node_one_arg, one_to_two_arg == null ? 0 : one_to_two_arg.ptr & ~1, node_two_arg, two_to_one_arg == null ? 0 : two_to_one_arg.ptr & ~1, capacity_sats_arg.ptr, announcement_message_arg == null ? 0 : announcement_message_arg.ptr & ~1);
                const ret_hu_conv: ChannelInfo = new ChannelInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(one_to_two_arg);
-               ret_hu_conv.ptrs_to.add(two_to_one_arg);
-               ret_hu_conv.ptrs_to.add(announcement_message_arg);
                return ret_hu_conv;
        }
 
index 6aee86ada02dd00f2ef7ab62aaf609efe49326b7..d2ecf92b646d2736c18999d33914d42197564cf8 100644 (file)
@@ -27,8 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                ret_hu_conv.ptrs_to.add(tx_broadcaster);
                ret_hu_conv.ptrs_to.add(logger);
                ret_hu_conv.ptrs_to.add(keys_manager);
-               ret_hu_conv.ptrs_to.add(config);
-               ret_hu_conv.ptrs_to.add(params);
                return ret_hu_conv;
        }
 
@@ -42,7 +40,6 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_NoneAPIErrorZ create_channel(Uint8Array their_network_key, number channel_value_satoshis, number push_msat, number user_id, UserConfig override_config) {
                number ret = bindings.ChannelManager_create_channel(this.ptr, their_network_key, channel_value_satoshis, push_msat, user_id, override_config == null ? 0 : override_config.ptr & ~1);
                Result_NoneAPIErrorZ ret_hu_conv = Result_NoneAPIErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(override_config);
                return ret_hu_conv;
        }
 
index b381eb4fae1e946c10a93f951d111c37075d38de..3553905f5d45c3284e7200e8ce5ff3f8feab8115 100644 (file)
@@ -87,7 +87,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_default_config(UserConfig val) {
                bindings.ChannelManagerReadArgs_set_default_config(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelManagerReadArgs constructor_new(KeysInterface keys_manager, FeeEstimator fee_estimator, Watch chain_monitor, BroadcasterInterface tx_broadcaster, Logger logger, UserConfig default_config, ChannelMonitor[] channel_monitors) {
@@ -99,7 +98,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                ret_hu_conv.ptrs_to.add(chain_monitor);
                ret_hu_conv.ptrs_to.add(tx_broadcaster);
                ret_hu_conv.ptrs_to.add(logger);
-               ret_hu_conv.ptrs_to.add(default_config);
                for (ChannelMonitor channel_monitors_conv_16: channel_monitors) { ret_hu_conv.ptrs_to.add(channel_monitors_conv_16); };
                return ret_hu_conv;
        }
index 41e892fe341fca0efb1b4a0f102ad02a509990f1..23478b360679ac8f6bf805f1db1c2c4ec433b324 100644 (file)
@@ -172,13 +172,11 @@ import * as bindings from '../bindings' // TODO: figure out location
             }
        public void handle_open_channel(Uint8Array their_node_id, InitFeatures their_features, OpenChannel msg) {
                bindings.ChannelMessageHandler_handle_open_channel(this.ptr, their_node_id, their_features == null ? 0 : their_features.ptr & ~1, msg == null ? 0 : msg.ptr & ~1);
-               this.ptrs_to.add(their_features);
                this.ptrs_to.add(msg);
        }
 
        public void handle_accept_channel(Uint8Array their_node_id, InitFeatures their_features, AcceptChannel msg) {
                bindings.ChannelMessageHandler_handle_accept_channel(this.ptr, their_node_id, their_features == null ? 0 : their_features.ptr & ~1, msg == null ? 0 : msg.ptr & ~1);
-               this.ptrs_to.add(their_features);
                this.ptrs_to.add(msg);
        }
 
index 1877ccee35f4f87c164155f1141ac5a0d227a7ad..31525ff7a5a3c499b75f481866c46fefc651fef3 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_holder_pubkeys(ChannelPublicKeys val) {
                bindings.ChannelTransactionParameters_set_holder_pubkeys(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_holder_selected_contest_delay() {
@@ -57,7 +56,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_counterparty_parameters(CounterpartyChannelTransactionParameters val) {
                bindings.ChannelTransactionParameters_set_counterparty_parameters(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public OutPoint get_funding_outpoint() {
@@ -69,16 +67,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_funding_outpoint(OutPoint val) {
                bindings.ChannelTransactionParameters_set_funding_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelTransactionParameters constructor_new(ChannelPublicKeys holder_pubkeys_arg, number holder_selected_contest_delay_arg, boolean is_outbound_from_holder_arg, CounterpartyChannelTransactionParameters counterparty_parameters_arg, OutPoint funding_outpoint_arg) {
                number ret = bindings.ChannelTransactionParameters_new(holder_pubkeys_arg == null ? 0 : holder_pubkeys_arg.ptr & ~1, holder_selected_contest_delay_arg, is_outbound_from_holder_arg, counterparty_parameters_arg == null ? 0 : counterparty_parameters_arg.ptr & ~1, funding_outpoint_arg == null ? 0 : funding_outpoint_arg.ptr & ~1);
                const ret_hu_conv: ChannelTransactionParameters = new ChannelTransactionParameters(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(holder_pubkeys_arg);
-               ret_hu_conv.ptrs_to.add(counterparty_parameters_arg);
-               ret_hu_conv.ptrs_to.add(funding_outpoint_arg);
                return ret_hu_conv;
        }
 
index 61c2af4eb5f55718f99037bba7a198e460dcfded..a7a09748fdfe2abde4f46c74b107ccb63be94833 100644 (file)
@@ -36,14 +36,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_contents(UnsignedChannelUpdate val) {
                bindings.ChannelUpdate_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelUpdate constructor_new(Uint8Array signature_arg, UnsignedChannelUpdate contents_arg) {
                number ret = bindings.ChannelUpdate_new(signature_arg, contents_arg == null ? 0 : contents_arg.ptr & ~1);
                const ret_hu_conv: ChannelUpdate = new ChannelUpdate(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }
 
index 453347c012dedb37f90bbe5f5e86d673e98de380..8be14a855041897056ec89f329e7a8d99c233fc2 100644 (file)
@@ -54,14 +54,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_fee_range(ClosingSignedFeeRange val) {
                bindings.ClosingSigned_set_fee_range(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ClosingSigned constructor_new(Uint8Array channel_id_arg, number fee_satoshis_arg, Uint8Array signature_arg, ClosingSignedFeeRange fee_range_arg) {
                number ret = bindings.ClosingSigned_new(channel_id_arg, fee_satoshis_arg, signature_arg, fee_range_arg == null ? 0 : fee_range_arg.ptr & ~1);
                const ret_hu_conv: ClosingSigned = new ClosingSigned(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(fee_range_arg);
                return ret_hu_conv;
        }
 
index e32307f1b31f733b6110b7942f9a69fa1fc5898e..f4b14a3e0c94c7e3eb3e01480c36bdd027c6be2f 100644 (file)
@@ -22,7 +22,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.ClosingTransaction_new(to_holder_value_sat, to_counterparty_value_sat, to_holder_script, to_counterparty_script, funding_outpoint == null ? 0 : funding_outpoint.ptr & ~1);
                const ret_hu_conv: ClosingTransaction = new ClosingTransaction(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(funding_outpoint);
                return ret_hu_conv;
        }
 
@@ -36,7 +35,6 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_TrustedClosingTransactionNoneZ verify(OutPoint funding_outpoint) {
                number ret = bindings.ClosingTransaction_verify(this.ptr, funding_outpoint == null ? 0 : funding_outpoint.ptr & ~1);
                Result_TrustedClosingTransactionNoneZ ret_hu_conv = Result_TrustedClosingTransactionNoneZ.constr_from_ptr(ret);
-               this.ptrs_to.add(funding_outpoint);
                return ret_hu_conv;
        }
 
index 2c1f0e658a487b4d2048e0c6e70366cba48454e3..8fa5923504d2484bf4d55b6ee5f983c1e2c23e4f 100644 (file)
@@ -32,7 +32,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_update_add_htlcs(UpdateAddHTLC[] val) {
                bindings.CommitmentUpdate_set_update_add_htlcs(this.ptr, val != null ? Arrays.stream(val).map(val_conv_15 -> val_conv_15 == null ? 0 : val_conv_15.ptr & ~1).toArray(number[]::new) : null);
-               for (UpdateAddHTLC val_conv_15: val) { this.ptrs_to.add(val_conv_15); };
        }
 
        public UpdateFulfillHTLC[] get_update_fulfill_htlcs() {
@@ -49,7 +48,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_update_fulfill_htlcs(UpdateFulfillHTLC[] val) {
                bindings.CommitmentUpdate_set_update_fulfill_htlcs(this.ptr, val != null ? Arrays.stream(val).map(val_conv_19 -> val_conv_19 == null ? 0 : val_conv_19.ptr & ~1).toArray(number[]::new) : null);
-               for (UpdateFulfillHTLC val_conv_19: val) { this.ptrs_to.add(val_conv_19); };
        }
 
        public UpdateFailHTLC[] get_update_fail_htlcs() {
@@ -66,7 +64,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_update_fail_htlcs(UpdateFailHTLC[] val) {
                bindings.CommitmentUpdate_set_update_fail_htlcs(this.ptr, val != null ? Arrays.stream(val).map(val_conv_16 -> val_conv_16 == null ? 0 : val_conv_16.ptr & ~1).toArray(number[]::new) : null);
-               for (UpdateFailHTLC val_conv_16: val) { this.ptrs_to.add(val_conv_16); };
        }
 
        public UpdateFailMalformedHTLC[] get_update_fail_malformed_htlcs() {
@@ -83,7 +80,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_update_fail_malformed_htlcs(UpdateFailMalformedHTLC[] val) {
                bindings.CommitmentUpdate_set_update_fail_malformed_htlcs(this.ptr, val != null ? Arrays.stream(val).map(val_conv_25 -> val_conv_25 == null ? 0 : val_conv_25.ptr & ~1).toArray(number[]::new) : null);
-               for (UpdateFailMalformedHTLC val_conv_25: val) { this.ptrs_to.add(val_conv_25); };
        }
 
        public UpdateFee get_update_fee() {
@@ -95,7 +91,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_update_fee(UpdateFee val) {
                bindings.CommitmentUpdate_set_update_fee(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public CommitmentSigned get_commitment_signed() {
@@ -107,19 +102,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_commitment_signed(CommitmentSigned val) {
                bindings.CommitmentUpdate_set_commitment_signed(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static CommitmentUpdate constructor_new(UpdateAddHTLC[] update_add_htlcs_arg, UpdateFulfillHTLC[] update_fulfill_htlcs_arg, UpdateFailHTLC[] update_fail_htlcs_arg, UpdateFailMalformedHTLC[] update_fail_malformed_htlcs_arg, UpdateFee update_fee_arg, CommitmentSigned commitment_signed_arg) {
                number ret = bindings.CommitmentUpdate_new(update_add_htlcs_arg != null ? Arrays.stream(update_add_htlcs_arg).map(update_add_htlcs_arg_conv_15 -> update_add_htlcs_arg_conv_15 == null ? 0 : update_add_htlcs_arg_conv_15.ptr & ~1).toArray(number[]::new) : null, update_fulfill_htlcs_arg != null ? Arrays.stream(update_fulfill_htlcs_arg).map(update_fulfill_htlcs_arg_conv_19 -> update_fulfill_htlcs_arg_conv_19 == null ? 0 : update_fulfill_htlcs_arg_conv_19.ptr & ~1).toArray(number[]::new) : null, update_fail_htlcs_arg != null ? Arrays.stream(update_fail_htlcs_arg).map(update_fail_htlcs_arg_conv_16 -> update_fail_htlcs_arg_conv_16 == null ? 0 : update_fail_htlcs_arg_conv_16.ptr & ~1).toArray(number[]::new) : null, update_fail_malformed_htlcs_arg != null ? Arrays.stream(update_fail_malformed_htlcs_arg).map(update_fail_malformed_htlcs_arg_conv_25 -> update_fail_malformed_htlcs_arg_conv_25 == null ? 0 : update_fail_malformed_htlcs_arg_conv_25.ptr & ~1).toArray(number[]::new) : null, update_fee_arg == null ? 0 : update_fee_arg.ptr & ~1, commitment_signed_arg == null ? 0 : commitment_signed_arg.ptr & ~1);
                const ret_hu_conv: CommitmentUpdate = new CommitmentUpdate(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               for (UpdateAddHTLC update_add_htlcs_arg_conv_15: update_add_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_add_htlcs_arg_conv_15); };
-               for (UpdateFulfillHTLC update_fulfill_htlcs_arg_conv_19: update_fulfill_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_fulfill_htlcs_arg_conv_19); };
-               for (UpdateFailHTLC update_fail_htlcs_arg_conv_16: update_fail_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_fail_htlcs_arg_conv_16); };
-               for (UpdateFailMalformedHTLC update_fail_malformed_htlcs_arg_conv_25: update_fail_malformed_htlcs_arg) { ret_hu_conv.ptrs_to.add(update_fail_malformed_htlcs_arg_conv_25); };
-               ret_hu_conv.ptrs_to.add(update_fee_arg);
-               ret_hu_conv.ptrs_to.add(commitment_signed_arg);
                return ret_hu_conv;
        }
 
index c30efd9689edd9b82fbff88886eaf35c3be8b3cd..dba2820b745cf2b69d4dfef7fb5cb7733949fdd5 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_pubkeys(ChannelPublicKeys val) {
                bindings.CounterpartyChannelTransactionParameters_set_pubkeys(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_selected_contest_delay() {
@@ -43,7 +42,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.CounterpartyChannelTransactionParameters_new(pubkeys_arg == null ? 0 : pubkeys_arg.ptr & ~1, selected_contest_delay_arg);
                const ret_hu_conv: CounterpartyChannelTransactionParameters = new CounterpartyChannelTransactionParameters(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(pubkeys_arg);
                return ret_hu_conv;
        }
 
index 87c847e5cc2d9cf2d58bd10c42b4feda651df964..b89922e8b54a9725d18cce1e09b31d0dd3363f07 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_outpoint(OutPoint val) {
                bindings.DelayedPaymentOutputDescriptor_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_per_commitment_point() {
@@ -83,7 +82,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.DelayedPaymentOutputDescriptor_new(outpoint_arg == null ? 0 : outpoint_arg.ptr & ~1, per_commitment_point_arg, to_self_delay_arg, output_arg.ptr, revocation_pubkey_arg, channel_keys_id_arg, channel_value_satoshis_arg);
                const ret_hu_conv: DelayedPaymentOutputDescriptor = new DelayedPaymentOutputDescriptor(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint_arg);
                return ret_hu_conv;
        }
 
index 9fb9c3170e9c498306ccf4b52f96fae179c2e9d9..f0148649c0bbb5b5d1d160e9825dd25f551acf3a 100644 (file)
@@ -74,7 +74,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_fees(RoutingFees val) {
                bindings.DirectionalChannelInfo_set_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public ChannelUpdate get_last_update_message() {
@@ -86,15 +85,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_last_update_message(ChannelUpdate val) {
                bindings.DirectionalChannelInfo_set_last_update_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static DirectionalChannelInfo constructor_new(number last_update_arg, boolean enabled_arg, number cltv_expiry_delta_arg, number htlc_minimum_msat_arg, Option_u64Z htlc_maximum_msat_arg, RoutingFees fees_arg, ChannelUpdate last_update_message_arg) {
                number ret = bindings.DirectionalChannelInfo_new(last_update_arg, enabled_arg, cltv_expiry_delta_arg, htlc_minimum_msat_arg, htlc_maximum_msat_arg.ptr, fees_arg == null ? 0 : fees_arg.ptr & ~1, last_update_message_arg == null ? 0 : last_update_message_arg.ptr & ~1);
                const ret_hu_conv: DirectionalChannelInfo = new DirectionalChannelInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(fees_arg);
-               ret_hu_conv.ptrs_to.add(last_update_message_arg);
                return ret_hu_conv;
        }
 
index 6bcb77499dfaf3d3632eb4fc3d18b337a7e75660..a2f28ba8b5355db9cdef0426eaa4bc4ef6255651 100644 (file)
@@ -69,7 +69,6 @@ export class SendErrorMessage extends ErrorAction {
                number ret = bindings.ErrorAction_disconnect_peer(msg == null ? 0 : msg.ptr & ~1);
                ErrorAction ret_hu_conv = ErrorAction.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -91,7 +90,6 @@ export class SendErrorMessage extends ErrorAction {
                number ret = bindings.ErrorAction_send_error_message(msg == null ? 0 : msg.ptr & ~1);
                ErrorAction ret_hu_conv = ErrorAction.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index db05d8ae2fe3dd3f57a1937900f9e11658f3d10b..c8374a2b73f273a2afecb9008d24d96acbe6353f 100644 (file)
@@ -176,7 +176,6 @@ export class ChannelClosed extends Event {
                number ret = bindings.Event_payment_path_failed(payment_hash, rejected_by_dest, network_update.ptr, all_paths_failed, path != null ? Arrays.stream(path).map(path_conv_10 -> path_conv_10 == null ? 0 : path_conv_10.ptr & ~1).toArray(number[]::new) : null);
                Event ret_hu_conv = Event.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               for (RouteHop path_conv_10: path) { ret_hu_conv.ptrs_to.add(path_conv_10); };
                return ret_hu_conv;
        }
 
index a9d0ee47ebf0cc2879f47a8ded2fc4267f7fe9bd..9179c447bc122a1d0ce91ad05fac42bbdd2333ac 100644 (file)
@@ -53,7 +53,6 @@ import * as bindings from '../bindings' // TODO: figure out location
             }
        public void handle_event(Event event) {
                bindings.EventHandler_handle_event(this.ptr, event == null ? 0 : event.ptr & ~1);
-               this.ptrs_to.add(event);
        }
 
 }
index 54dca6646d8007162c1787cc75868cf4148cbf0d..046b1440a0bd51c7916e37d4d103c0587b49d3dd 100644 (file)
@@ -83,7 +83,6 @@ export class ScriptHash extends Fallback {
 
        public boolean eq(Fallback b) {
                boolean ret = bindings.Fallback_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }
 
index 3d3b706fe64a9ca5171a6b2bef45b4b3ee1f8d68..ca6e7b2e9c03f8170eac1f2ff6990dfec6e214dc 100644 (file)
@@ -67,7 +67,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.Filter_register_output(this.ptr, output == null ? 0 : output.ptr & ~1);
                Option_C2Tuple_usizeTransactionZZ ret_hu_conv = Option_C2Tuple_usizeTransactionZZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(this);
-               this.ptrs_to.add(output);
                return ret_hu_conv;
        }
 
index 15ce4e0028ec73bc03f48c7801415e7d4560fc58..1a071a701c79c798c1d484caa3f59c202b7f0bcc 100644 (file)
@@ -53,7 +53,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.HolderCommitmentTransaction_new(commitment_tx == null ? 0 : commitment_tx.ptr & ~1, counterparty_sig, counterparty_htlc_sigs, holder_funding_key, counterparty_funding_key);
                const ret_hu_conv: HolderCommitmentTransaction = new HolderCommitmentTransaction(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(commitment_tx);
                return ret_hu_conv;
        }
 
index b8ca1522ccb2f4cfc6e7a79f9dd98d035aea6282..9b127bfcb42705bf2c47a7ebef6e5f0c37e18e3e 100644 (file)
@@ -27,14 +27,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(InitFeatures val) {
                bindings.Init_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static Init constructor_new(InitFeatures features_arg) {
                number ret = bindings.Init_new(features_arg == null ? 0 : features_arg.ptr & ~1);
                const ret_hu_conv: Init = new Init(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
                return ret_hu_conv;
        }
 
index 20bcd4fad241be3b593681505d473dfcaddc1f28..5b9bfd41ff13569b0ffba2aa49fa1a2369448abe 100644 (file)
@@ -47,7 +47,6 @@ import * as bindings from '../bindings' // TODO: figure out location
        public static Result_InvoiceSemanticErrorZ constructor_from_signed(SignedRawInvoice signed_invoice) {
                number ret = bindings.Invoice_from_signed(signed_invoice == null ? 0 : signed_invoice.ptr & ~1);
                Result_InvoiceSemanticErrorZ ret_hu_conv = Result_InvoiceSemanticErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(signed_invoice);
                return ret_hu_conv;
        }
 
index d199662d5790ab847c1835fbf51a61519734a1de..7f48672c537653a1dc94d330f947129c0332b7a8 100644 (file)
@@ -45,7 +45,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                                                get_shutdown_scriptpubkey (): number {
                                                        ShutdownScript ret = arg.get_shutdown_scriptpubkey();
                                result: number = ret == null ? 0 : ret.ptr & ~1;
-                               impl_holder.held.ptrs_to.add(ret);
                                return result;
                                                },
 
index cf1ce556774c5e5f91ea050155383ba13c6dc918..682d5556a5ab423c4ca3fea38f0810131dff4175 100644 (file)
@@ -309,7 +309,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_accept_channel(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -317,7 +316,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_open_channel(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -325,7 +323,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_funding_created(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -333,7 +330,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_funding_signed(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -341,7 +337,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_funding_locked(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -349,7 +344,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_announcement_signatures(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -357,7 +351,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_update_htlcs(node_id, updates == null ? 0 : updates.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(updates);
                return ret_hu_conv;
        }
 
@@ -365,7 +358,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_revoke_and_ack(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -373,7 +365,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_closing_signed(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -381,7 +372,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_shutdown(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -389,7 +379,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_channel_reestablish(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -397,8 +386,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_broadcast_channel_announcement(msg == null ? 0 : msg.ptr & ~1, update_msg == null ? 0 : update_msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
-               ret_hu_conv.ptrs_to.add(update_msg);
                return ret_hu_conv;
        }
 
@@ -406,7 +393,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_broadcast_node_announcement(msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -414,7 +400,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_broadcast_channel_update(msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -422,7 +407,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_channel_update(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -437,7 +421,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_channel_range_query(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -445,7 +428,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_short_ids_query(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
@@ -453,7 +435,6 @@ export class SendReplyChannelRange extends MessageSendEvent {
                number ret = bindings.MessageSendEvent_send_reply_channel_range(node_id, msg == null ? 0 : msg.ptr & ~1);
                MessageSendEvent ret_hu_conv = MessageSendEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index 535574fac11ad6f719ad5bab5a01c782ab438064..5fefa6b4f53a24f7c651ae23115ad5bce418cfe5 100644 (file)
@@ -51,7 +51,6 @@ export class CommitmentTxConfirmed extends MonitorEvent {
                number ret = bindings.MonitorEvent_htlcevent(a == null ? 0 : a.ptr & ~1);
                MonitorEvent ret_hu_conv = MonitorEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
@@ -59,7 +58,6 @@ export class CommitmentTxConfirmed extends MonitorEvent {
                number ret = bindings.MonitorEvent_commitment_tx_confirmed(a == null ? 0 : a.ptr & ~1);
                MonitorEvent ret_hu_conv = MonitorEvent.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
index 4da3280b9725eeed1210811d10c65d63e1e31776..e3726aa56f17ae0f80d9e0ee672fe8fee5ed1ec3 100644 (file)
@@ -34,14 +34,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_network_graph(NetworkGraph val) {
                bindings.NetGraphMsgHandler_set_network_graph(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static NetGraphMsgHandler constructor_new(NetworkGraph network_graph, Option_AccessZ chain_access, Logger logger) {
                number ret = bindings.NetGraphMsgHandler_new(network_graph == null ? 0 : network_graph.ptr & ~1, chain_access.ptr, logger == null ? 0 : logger.ptr);
                const ret_hu_conv: NetGraphMsgHandler = new NetGraphMsgHandler(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(network_graph);
                ret_hu_conv.ptrs_to.add(logger);
                return ret_hu_conv;
        }
index b7b9e924518847081560ee081194b3997b13139d..97f9af233dd12d54dbefe4c0e90775cf8f1d19f5 100644 (file)
@@ -62,7 +62,6 @@ export class NodeFailure extends NetworkUpdate {
                number ret = bindings.NetworkUpdate_channel_update_message(msg == null ? 0 : msg.ptr & ~1);
                NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index bf2a6612556fb6eb2242c88cbd95a408c1bab44c..cef5ecdbe4eab77f47128cd891673594ca208ef7 100644 (file)
@@ -36,14 +36,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_contents(UnsignedNodeAnnouncement val) {
                bindings.NodeAnnouncement_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static NodeAnnouncement constructor_new(Uint8Array signature_arg, UnsignedNodeAnnouncement contents_arg) {
                number ret = bindings.NodeAnnouncement_new(signature_arg, contents_arg == null ? 0 : contents_arg.ptr & ~1);
                const ret_hu_conv: NodeAnnouncement = new NodeAnnouncement(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }
 
index 16eee31d201d09cfbd3e2f414310a60effa9fea0..cd2e6d24d340246c8332d4ed052fa9f38c57d74e 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(NodeFeatures val) {
                bindings.NodeAnnouncementInfo_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_last_update() {
@@ -70,15 +69,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_announcement_message(NodeAnnouncement val) {
                bindings.NodeAnnouncementInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static NodeAnnouncementInfo constructor_new(NodeFeatures features_arg, number last_update_arg, Uint8Array rgb_arg, Uint8Array alias_arg, NetAddress[] addresses_arg, NodeAnnouncement announcement_message_arg) {
                number ret = bindings.NodeAnnouncementInfo_new(features_arg == null ? 0 : features_arg.ptr & ~1, last_update_arg, rgb_arg, alias_arg, addresses_arg != null ? Arrays.stream(addresses_arg).map(addresses_arg_conv_12 -> addresses_arg_conv_12.ptr).toArray(number[]::new) : null, announcement_message_arg == null ? 0 : announcement_message_arg.ptr & ~1);
                const ret_hu_conv: NodeAnnouncementInfo = new NodeAnnouncementInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(announcement_message_arg);
                return ret_hu_conv;
        }
 
index f848b0860f601f1650b446e21a334285bc6748ff..810dbcd7d175216530093b6ac34f33a8c0578af4 100644 (file)
@@ -31,7 +31,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_lowest_inbound_channel_fees(RoutingFees val) {
                bindings.NodeInfo_set_lowest_inbound_channel_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public NodeAnnouncementInfo get_announcement_info() {
@@ -43,15 +42,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_announcement_info(NodeAnnouncementInfo val) {
                bindings.NodeInfo_set_announcement_info(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static NodeInfo constructor_new(number[] channels_arg, RoutingFees lowest_inbound_channel_fees_arg, NodeAnnouncementInfo announcement_info_arg) {
                number ret = bindings.NodeInfo_new(channels_arg, lowest_inbound_channel_fees_arg == null ? 0 : lowest_inbound_channel_fees_arg.ptr & ~1, announcement_info_arg == null ? 0 : announcement_info_arg.ptr & ~1);
                const ret_hu_conv: NodeInfo = new NodeInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(lowest_inbound_channel_fees_arg);
-               ret_hu_conv.ptrs_to.add(announcement_info_arg);
                return ret_hu_conv;
        }
 
index d527dfed994f55e26f94c025f7c1e20e27c3dd44..3d3951de902aa27d2fb855b11cff443f2ff50e12 100644 (file)
@@ -51,14 +51,12 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_NonePeerHandleErrorZ write_buffer_space_avail(SocketDescriptor descriptor) {
                number ret = bindings.PeerManager_write_buffer_space_avail(this.ptr, descriptor == null ? 0 : descriptor.ptr);
                Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(descriptor);
                return ret_hu_conv;
        }
 
        public Result_boolPeerHandleErrorZ read_event(SocketDescriptor peer_descriptor, Uint8Array data) {
                number ret = bindings.PeerManager_read_event(this.ptr, peer_descriptor == null ? 0 : peer_descriptor.ptr, data);
                Result_boolPeerHandleErrorZ ret_hu_conv = Result_boolPeerHandleErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(peer_descriptor);
                return ret_hu_conv;
        }
 
@@ -68,7 +66,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void socket_disconnected(SocketDescriptor descriptor) {
                bindings.PeerManager_socket_disconnected(this.ptr, descriptor == null ? 0 : descriptor.ptr);
-               this.ptrs_to.add(descriptor);
        }
 
        public void disconnect_by_node_id(Uint8Array node_id, boolean no_connection_possible) {
index dbfc8aeb284ff549bcf8909a73abfb7e6aa86eb0..68a951020670c2347ebea54ecd61784c4e18426e 100644 (file)
@@ -69,7 +69,6 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_NoneChannelMonitorUpdateErrZ persist_new_channel(OutPoint id, ChannelMonitor data) {
                number ret = bindings.Persist_persist_new_channel(this.ptr, id == null ? 0 : id.ptr & ~1, data == null ? 0 : data.ptr & ~1);
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(id);
                this.ptrs_to.add(data);
                return ret_hu_conv;
        }
@@ -77,7 +76,6 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_NoneChannelMonitorUpdateErrZ update_persisted_channel(OutPoint id, ChannelMonitorUpdate update, ChannelMonitor data) {
                number ret = bindings.Persist_update_persisted_channel(this.ptr, id == null ? 0 : id.ptr & ~1, update == null ? 0 : update.ptr & ~1, data == null ? 0 : data.ptr & ~1);
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(id);
                this.ptrs_to.add(update);
                this.ptrs_to.add(data);
                return ret_hu_conv;
index 360a457ed5833904323acf5c133ab9f93b604ed8..82943df07a4e5cf09e95e88e0f53a55a24a2bc1b 100644 (file)
@@ -39,7 +39,6 @@ import * as bindings from '../bindings' // TODO: figure out location
        public static Result_PrivateRouteCreationErrorZ constructor_new(RouteHint hops) {
                number ret = bindings.PrivateRoute_new(hops == null ? 0 : hops.ptr & ~1);
                Result_PrivateRouteCreationErrorZ ret_hu_conv = Result_PrivateRouteCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(hops);
                return ret_hu_conv;
        }
 
index e3bffcc40b45a852c49f13dd9c2274952b2a1347..5f63383b8cb2dbadc44f2f5f6f25d64ab8436d6d 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_timestamp(PositiveTimestamp val) {
                bindings.RawDataPart_set_timestamp(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public boolean eq(RawDataPart b) {
index 162796d5f98d0680cb7416dfb3060321d0ac5104..bb6a5dce0783f246382d25247230d2758e258bf3 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_data(RawDataPart val) {
                bindings.RawInvoice_set_data(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public boolean eq(RawInvoice b) {
index e4b5494d18ed30b2e9f6ad2726856b267aa3fb9c..cffb6512ad0a6653704a281b2f3e361105479d75 100644 (file)
@@ -40,14 +40,12 @@ public class Result_AcceptChannelDecodeErrorZ extends CommonBase {
        public static Result_AcceptChannelDecodeErrorZ constructor_ok(AcceptChannel o) {
                number ret = bindings.CResult_AcceptChannelDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_AcceptChannelDecodeErrorZ ret_hu_conv = Result_AcceptChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_AcceptChannelDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_AcceptChannelDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_AcceptChannelDecodeErrorZ ret_hu_conv = Result_AcceptChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index d4ed58bcf37a7a3323849ab7833d0b3806c7532c..812a45329d1c150bf4f3e8874a5939242fc13af0 100644 (file)
@@ -40,14 +40,12 @@ public class Result_AnnouncementSignaturesDecodeErrorZ extends CommonBase {
        public static Result_AnnouncementSignaturesDecodeErrorZ constructor_ok(AnnouncementSignatures o) {
                number ret = bindings.CResult_AnnouncementSignaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_AnnouncementSignaturesDecodeErrorZ ret_hu_conv = Result_AnnouncementSignaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_AnnouncementSignaturesDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_AnnouncementSignaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_AnnouncementSignaturesDecodeErrorZ ret_hu_conv = Result_AnnouncementSignaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 6e54924b133637089340f9f63ba46d4e97d65105..59a2d2559323413c8d2cc4073dd411433defef10 100644 (file)
@@ -40,14 +40,12 @@ public class Result_BuiltCommitmentTransactionDecodeErrorZ extends CommonBase {
        public static Result_BuiltCommitmentTransactionDecodeErrorZ constructor_ok(BuiltCommitmentTransaction o) {
                number ret = bindings.CResult_BuiltCommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_BuiltCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_BuiltCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_BuiltCommitmentTransactionDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_BuiltCommitmentTransactionDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_BuiltCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_BuiltCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index e1bab27531f6ef6a6315ce9d5090e65ed8e4c843..86f9d9f80007bd43bacc1696089d196000364b6e 100644 (file)
@@ -46,7 +46,6 @@ public class Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ extends CommonB
        public static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ ret_hu_conv = Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 741c7190253e13637acd54e32c58e73a494af628..fbedce75249782626480590183b2977e04b358f3 100644 (file)
@@ -46,7 +46,6 @@ public class Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ extends CommonB
        public static Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ ret_hu_conv = Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index da40f5db46be88d9e021210c6a7b57c9c7de9aa1..634da2bc45f3dd4f2d22245e25ce5b6c6bb551d3 100644 (file)
@@ -46,7 +46,6 @@ public class Result_COption_TypeZDecodeErrorZ extends CommonBase {
        public static Result_COption_TypeZDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_COption_TypeZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_COption_TypeZDecodeErrorZ ret_hu_conv = Result_COption_TypeZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index a2ec34a1da01bc7df3daf7011dc9051d50c5f7fe..a1944583b7fcdc19e60658ebf018e55efabb9a12 100644 (file)
@@ -45,7 +45,6 @@ public class Result_CResult_NetAddressu8ZDecodeErrorZ extends CommonBase {
        public static Result_CResult_NetAddressu8ZDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_CResult_NetAddressu8ZDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_CResult_NetAddressu8ZDecodeErrorZ ret_hu_conv = Result_CResult_NetAddressu8ZDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 5d52288b21e96ab404e962c7c52bf0a8c52273c2..a5ef5951cb7f74538532aae5919073eba1671dc2 100644 (file)
@@ -43,7 +43,6 @@ public class Result_CVec_u8ZPeerHandleErrorZ extends CommonBase {
        public static Result_CVec_u8ZPeerHandleErrorZ constructor_err(PeerHandleError e) {
                number ret = bindings.CResult_CVec_u8ZPeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_CVec_u8ZPeerHandleErrorZ ret_hu_conv = Result_CVec_u8ZPeerHandleErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 29991345b59ee75e90771d49e78f18077d3735da..b06e713cbe814d55fc75639ea78a1ff545ebc084 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelAnnouncementDecodeErrorZ extends CommonBase {
        public static Result_ChannelAnnouncementDecodeErrorZ constructor_ok(ChannelAnnouncement o) {
                number ret = bindings.CResult_ChannelAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_ChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelAnnouncementDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_ChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7b626dfc7cfb8a7acb0d8f60b9958d115c9728c5..8260d5a5eda9e2909b8a5374cb5fd5de32ae42e2 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelConfigDecodeErrorZ extends CommonBase {
        public static Result_ChannelConfigDecodeErrorZ constructor_ok(ChannelConfig o) {
                number ret = bindings.CResult_ChannelConfigDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelConfigDecodeErrorZ ret_hu_conv = Result_ChannelConfigDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelConfigDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelConfigDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelConfigDecodeErrorZ ret_hu_conv = Result_ChannelConfigDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 942ff138713551a1169dc5f4450374a29310a2d2..6a7620094f8fb5d8ae4d0cc16aecc40c4a2e5736 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelFeaturesDecodeErrorZ extends CommonBase {
        public static Result_ChannelFeaturesDecodeErrorZ constructor_ok(ChannelFeatures o) {
                number ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelFeaturesDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelFeaturesDecodeErrorZ ret_hu_conv = Result_ChannelFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index f1f84af2efa57fa98aa050a4239493a3d140f8e4..21031cde5de8ef762ad27c98bf2b944e1421e968 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelInfoDecodeErrorZ extends CommonBase {
        public static Result_ChannelInfoDecodeErrorZ constructor_ok(ChannelInfo o) {
                number ret = bindings.CResult_ChannelInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelInfoDecodeErrorZ ret_hu_conv = Result_ChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelInfoDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelInfoDecodeErrorZ ret_hu_conv = Result_ChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 5138b2deceb6a88b7a5fea9d284b465cfb399523..f915a89db7fbc218b2c300720047094aac35a1e3 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase {
        public static Result_ChannelMonitorUpdateDecodeErrorZ constructor_ok(ChannelMonitorUpdate o) {
                number ret = bindings.CResult_ChannelMonitorUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelMonitorUpdateDecodeErrorZ ret_hu_conv = Result_ChannelMonitorUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelMonitorUpdateDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelMonitorUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelMonitorUpdateDecodeErrorZ ret_hu_conv = Result_ChannelMonitorUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index b41be8da818bbd0eb5db88c4eaa53ae099e35783..e6e260dcb06a118b0ef093b76c5317110cf7794f 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelPublicKeysDecodeErrorZ extends CommonBase {
        public static Result_ChannelPublicKeysDecodeErrorZ constructor_ok(ChannelPublicKeys o) {
                number ret = bindings.CResult_ChannelPublicKeysDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelPublicKeysDecodeErrorZ ret_hu_conv = Result_ChannelPublicKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelPublicKeysDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelPublicKeysDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelPublicKeysDecodeErrorZ ret_hu_conv = Result_ChannelPublicKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c3692fb5c71ce5ed5fcee67ba6a4aebdb2a2f0e6..df386c17d1e9bb732b6d51e49a8c4e4d243ab92c 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelReestablishDecodeErrorZ extends CommonBase {
        public static Result_ChannelReestablishDecodeErrorZ constructor_ok(ChannelReestablish o) {
                number ret = bindings.CResult_ChannelReestablishDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelReestablishDecodeErrorZ ret_hu_conv = Result_ChannelReestablishDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelReestablishDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelReestablishDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelReestablishDecodeErrorZ ret_hu_conv = Result_ChannelReestablishDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index d88227260c0cf9020f4a774273870abf584a28ac..aa3e3ab298dd99863378abd880c8372a3d9b0731 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelTransactionParametersDecodeErrorZ extends CommonBase
        public static Result_ChannelTransactionParametersDecodeErrorZ constructor_ok(ChannelTransactionParameters o) {
                number ret = bindings.CResult_ChannelTransactionParametersDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_ChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelTransactionParametersDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelTransactionParametersDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_ChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ad9c5e19a0c2ade08bbf63f6c4c31d1591ca3501..57da57bd26ddfec9193318645599a2831321ea70 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ChannelUpdateDecodeErrorZ extends CommonBase {
        public static Result_ChannelUpdateDecodeErrorZ constructor_ok(ChannelUpdate o) {
                number ret = bindings.CResult_ChannelUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ChannelUpdateDecodeErrorZ ret_hu_conv = Result_ChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ChannelUpdateDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ChannelUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ChannelUpdateDecodeErrorZ ret_hu_conv = Result_ChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7cd4af4fc308089c1a405e733f74147f17a02d46..d7ad4d84ab287860efa812c6b38d17ce4a922406 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ClosingSignedDecodeErrorZ extends CommonBase {
        public static Result_ClosingSignedDecodeErrorZ constructor_ok(ClosingSigned o) {
                number ret = bindings.CResult_ClosingSignedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ClosingSignedDecodeErrorZ ret_hu_conv = Result_ClosingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ClosingSignedDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ClosingSignedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ClosingSignedDecodeErrorZ ret_hu_conv = Result_ClosingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 87a4f9c334f18f33876338980f318291b60eda50..971581fa18d389e30507fe6a35d7d1949544a51f 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ClosingSignedFeeRangeDecodeErrorZ extends CommonBase {
        public static Result_ClosingSignedFeeRangeDecodeErrorZ constructor_ok(ClosingSignedFeeRange o) {
                number ret = bindings.CResult_ClosingSignedFeeRangeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ClosingSignedFeeRangeDecodeErrorZ ret_hu_conv = Result_ClosingSignedFeeRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ClosingSignedFeeRangeDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ClosingSignedFeeRangeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ClosingSignedFeeRangeDecodeErrorZ ret_hu_conv = Result_ClosingSignedFeeRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 4ba1a373be150d8ab5e9e5c70ef75b0f29c4a790..fab98b9a7d10d59fee85eac6eb5acb595a38e9b7 100644 (file)
@@ -40,14 +40,12 @@ public class Result_CommitmentSignedDecodeErrorZ extends CommonBase {
        public static Result_CommitmentSignedDecodeErrorZ constructor_ok(CommitmentSigned o) {
                number ret = bindings.CResult_CommitmentSignedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_CommitmentSignedDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_CommitmentSignedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ed23d4af5971a8bb49805b46a23c840bacb4f7da..6d49cc81c918a5dd9330e4fe726b2645c14bce82 100644 (file)
@@ -40,14 +40,12 @@ public class Result_CommitmentTransactionDecodeErrorZ extends CommonBase {
        public static Result_CommitmentTransactionDecodeErrorZ constructor_ok(CommitmentTransaction o) {
                number ret = bindings.CResult_CommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_CommitmentTransactionDecodeErrorZ ret_hu_conv = Result_CommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_CommitmentTransactionDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_CommitmentTransactionDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_CommitmentTransactionDecodeErrorZ ret_hu_conv = Result_CommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 92076dfe81932f46dce75d898b0a01495b713b54..d7b98a10e7860dd714cf63457f7357d9cccb9b1e 100644 (file)
@@ -40,14 +40,12 @@ public class Result_CounterpartyChannelTransactionParametersDecodeErrorZ extends
        public static Result_CounterpartyChannelTransactionParametersDecodeErrorZ constructor_ok(CounterpartyChannelTransactionParameters o) {
                number ret = bindings.CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_CounterpartyChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_CounterpartyChannelTransactionParametersDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_CounterpartyChannelTransactionParametersDecodeErrorZ ret_hu_conv = Result_CounterpartyChannelTransactionParametersDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index dafd657559172a0986d0e2d9c82737e3ef6df20b..41dedd56bc64c69f8ee5a0af7eb71077b2a34119 100644 (file)
@@ -40,14 +40,12 @@ public class Result_DelayedPaymentOutputDescriptorDecodeErrorZ extends CommonBas
        public static Result_DelayedPaymentOutputDescriptorDecodeErrorZ constructor_ok(DelayedPaymentOutputDescriptor o) {
                number ret = bindings.CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_DelayedPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_DelayedPaymentOutputDescriptorDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_DelayedPaymentOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_DelayedPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_DelayedPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 03ce1c35288cd82f1c7771d0678dee44e9ebd37b..553a99db213a391b75ff15a7ff0a03f65175ca81 100644 (file)
@@ -37,7 +37,6 @@ public class Result_DescriptionCreationErrorZ extends CommonBase {
        public static Result_DescriptionCreationErrorZ constructor_ok(Description o) {
                number ret = bindings.CResult_DescriptionCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_DescriptionCreationErrorZ ret_hu_conv = Result_DescriptionCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 6ca7e36b786ed66aa0d871605fbede3fd87051ec..caa6c602a86cb39f163f5f53d51d3ee1d81685aa 100644 (file)
@@ -40,14 +40,12 @@ public class Result_DirectionalChannelInfoDecodeErrorZ extends CommonBase {
        public static Result_DirectionalChannelInfoDecodeErrorZ constructor_ok(DirectionalChannelInfo o) {
                number ret = bindings.CResult_DirectionalChannelInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_DirectionalChannelInfoDecodeErrorZ ret_hu_conv = Result_DirectionalChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_DirectionalChannelInfoDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_DirectionalChannelInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_DirectionalChannelInfoDecodeErrorZ ret_hu_conv = Result_DirectionalChannelInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 35b4ccf1785ce483074b73a6c54eb622e48ea5cb..59e5a53a4fd23ba4e03b7acdccf71e252c9cc7c2 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ErrorMessageDecodeErrorZ extends CommonBase {
        public static Result_ErrorMessageDecodeErrorZ constructor_ok(ErrorMessage o) {
                number ret = bindings.CResult_ErrorMessageDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ErrorMessageDecodeErrorZ ret_hu_conv = Result_ErrorMessageDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ErrorMessageDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ErrorMessageDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ErrorMessageDecodeErrorZ ret_hu_conv = Result_ErrorMessageDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 25763f78828cbaab91d8076c3096a87d8f25854d..b4038d2e0a7bfe68ac97cdd712c1e7c33bf76f10 100644 (file)
@@ -37,7 +37,6 @@ public class Result_ExpiryTimeCreationErrorZ extends CommonBase {
        public static Result_ExpiryTimeCreationErrorZ constructor_ok(ExpiryTime o) {
                number ret = bindings.CResult_ExpiryTimeCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ExpiryTimeCreationErrorZ ret_hu_conv = Result_ExpiryTimeCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index c9cc229b74ed527d9f0f1ce74f5f1251ef2b1ec0..b41267309788335273b64677effe06325cd8004f 100644 (file)
@@ -40,14 +40,12 @@ public class Result_FundingCreatedDecodeErrorZ extends CommonBase {
        public static Result_FundingCreatedDecodeErrorZ constructor_ok(FundingCreated o) {
                number ret = bindings.CResult_FundingCreatedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_FundingCreatedDecodeErrorZ ret_hu_conv = Result_FundingCreatedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_FundingCreatedDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_FundingCreatedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_FundingCreatedDecodeErrorZ ret_hu_conv = Result_FundingCreatedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7f48abd160f97629cd3c397015ffbaa15ace47c4..ae6717abee3413cacc15369214964e8d1def6b5c 100644 (file)
@@ -40,14 +40,12 @@ public class Result_FundingLockedDecodeErrorZ extends CommonBase {
        public static Result_FundingLockedDecodeErrorZ constructor_ok(FundingLocked o) {
                number ret = bindings.CResult_FundingLockedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_FundingLockedDecodeErrorZ ret_hu_conv = Result_FundingLockedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_FundingLockedDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_FundingLockedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_FundingLockedDecodeErrorZ ret_hu_conv = Result_FundingLockedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 720b580c5c7edb42670e0a2aa3175de55633055a..c789c328f859e659629c5afcbb22289ff7501f75 100644 (file)
@@ -40,14 +40,12 @@ public class Result_FundingSignedDecodeErrorZ extends CommonBase {
        public static Result_FundingSignedDecodeErrorZ constructor_ok(FundingSigned o) {
                number ret = bindings.CResult_FundingSignedDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_FundingSignedDecodeErrorZ ret_hu_conv = Result_FundingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_FundingSignedDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_FundingSignedDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_FundingSignedDecodeErrorZ ret_hu_conv = Result_FundingSignedDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7acab10af2bbc2c41cddc0ed3c9efcf659035bcd..0fe6c279fe5018908d7a0d7d669d6320b0b4ad3e 100644 (file)
@@ -40,14 +40,12 @@ public class Result_GossipTimestampFilterDecodeErrorZ extends CommonBase {
        public static Result_GossipTimestampFilterDecodeErrorZ constructor_ok(GossipTimestampFilter o) {
                number ret = bindings.CResult_GossipTimestampFilterDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_GossipTimestampFilterDecodeErrorZ ret_hu_conv = Result_GossipTimestampFilterDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_GossipTimestampFilterDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_GossipTimestampFilterDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_GossipTimestampFilterDecodeErrorZ ret_hu_conv = Result_GossipTimestampFilterDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 9a1a8ba4d8f5cf03998af535d882703580523c44..56ac8953b2d899127d4a374a48c77cce9781b403 100644 (file)
@@ -40,14 +40,12 @@ public class Result_HTLCOutputInCommitmentDecodeErrorZ extends CommonBase {
        public static Result_HTLCOutputInCommitmentDecodeErrorZ constructor_ok(HTLCOutputInCommitment o) {
                number ret = bindings.CResult_HTLCOutputInCommitmentDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_HTLCOutputInCommitmentDecodeErrorZ ret_hu_conv = Result_HTLCOutputInCommitmentDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_HTLCOutputInCommitmentDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_HTLCOutputInCommitmentDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_HTLCOutputInCommitmentDecodeErrorZ ret_hu_conv = Result_HTLCOutputInCommitmentDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index af8fb9a39061bd8c01dcdaf39593e56c4535be22..46409093d1f1839c81e27fc3f4c3e2ce50933cf2 100644 (file)
@@ -40,14 +40,12 @@ public class Result_HTLCUpdateDecodeErrorZ extends CommonBase {
        public static Result_HTLCUpdateDecodeErrorZ constructor_ok(HTLCUpdate o) {
                number ret = bindings.CResult_HTLCUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_HTLCUpdateDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_HTLCUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 66162fa9a0b7ac7a4ede8db8df34b4462ab97b6b..7decfef0c2b0e39d6f5b3fb21e779638a2b39b41 100644 (file)
@@ -40,14 +40,12 @@ public class Result_HolderCommitmentTransactionDecodeErrorZ extends CommonBase {
        public static Result_HolderCommitmentTransactionDecodeErrorZ constructor_ok(HolderCommitmentTransaction o) {
                number ret = bindings.CResult_HolderCommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_HolderCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_HolderCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_HolderCommitmentTransactionDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_HolderCommitmentTransactionDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_HolderCommitmentTransactionDecodeErrorZ ret_hu_conv = Result_HolderCommitmentTransactionDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 5bec0ad04de30ee87bad48078f3bfa72979e6a95..63692c3e347e85260529aff80b672d9369d127c7 100644 (file)
@@ -40,14 +40,12 @@ public class Result_InMemorySignerDecodeErrorZ extends CommonBase {
        public static Result_InMemorySignerDecodeErrorZ constructor_ok(InMemorySigner o) {
                number ret = bindings.CResult_InMemorySignerDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InMemorySignerDecodeErrorZ ret_hu_conv = Result_InMemorySignerDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_InMemorySignerDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_InMemorySignerDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_InMemorySignerDecodeErrorZ ret_hu_conv = Result_InMemorySignerDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index fca1945c711a72116cbc7f308a08fc9e16a40834..5cd3490a949cbb830d6419b3584eb578574a1453 100644 (file)
@@ -40,14 +40,12 @@ public class Result_InitDecodeErrorZ extends CommonBase {
        public static Result_InitDecodeErrorZ constructor_ok(Init o) {
                number ret = bindings.CResult_InitDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InitDecodeErrorZ ret_hu_conv = Result_InitDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_InitDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_InitDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_InitDecodeErrorZ ret_hu_conv = Result_InitDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 8a6e6376235f8e966a38a4494b3e5ed0d23d4f23..0ad8b921d0b5d9906991c7c83a7b25d3e7ff05fe 100644 (file)
@@ -40,14 +40,12 @@ public class Result_InitFeaturesDecodeErrorZ extends CommonBase {
        public static Result_InitFeaturesDecodeErrorZ constructor_ok(InitFeatures o) {
                number ret = bindings.CResult_InitFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InitFeaturesDecodeErrorZ ret_hu_conv = Result_InitFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_InitFeaturesDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_InitFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_InitFeaturesDecodeErrorZ ret_hu_conv = Result_InitFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 134a7c48883b4087615f87d0a8b9378497a5d6d7..1cc8765431e42757136536bc2e62b128a566a10c 100644 (file)
@@ -40,14 +40,12 @@ public class Result_InvoiceFeaturesDecodeErrorZ extends CommonBase {
        public static Result_InvoiceFeaturesDecodeErrorZ constructor_ok(InvoiceFeatures o) {
                number ret = bindings.CResult_InvoiceFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InvoiceFeaturesDecodeErrorZ ret_hu_conv = Result_InvoiceFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_InvoiceFeaturesDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_InvoiceFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_InvoiceFeaturesDecodeErrorZ ret_hu_conv = Result_InvoiceFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index f968f24239f16f818c448b3e396eeb1945b6112a..5b765330457a0dd761237f3473a5fe4a879e1d49 100644 (file)
@@ -35,7 +35,6 @@ public class Result_InvoiceNoneZ extends CommonBase {
        public static Result_InvoiceNoneZ constructor_ok(Invoice o) {
                number ret = bindings.CResult_InvoiceNoneZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InvoiceNoneZ ret_hu_conv = Result_InvoiceNoneZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 413ed95f7ae27e8773130587d8eb0d1967cac93f..19539891d05eea69bff16cdae0155fe72f92fe91 100644 (file)
@@ -37,7 +37,6 @@ public class Result_InvoiceSemanticErrorZ extends CommonBase {
        public static Result_InvoiceSemanticErrorZ constructor_ok(Invoice o) {
                number ret = bindings.CResult_InvoiceSemanticErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InvoiceSemanticErrorZ ret_hu_conv = Result_InvoiceSemanticErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 29144df7a7e4bf8db3c9edbccc95f47e5d0bfc25..c9578f0470669bf47cf3cb2ca1ac8253e7060b64 100644 (file)
@@ -40,7 +40,6 @@ public class Result_InvoiceSignOrCreationErrorZ extends CommonBase {
        public static Result_InvoiceSignOrCreationErrorZ constructor_ok(Invoice o) {
                number ret = bindings.CResult_InvoiceSignOrCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_InvoiceSignOrCreationErrorZ ret_hu_conv = Result_InvoiceSignOrCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 8cda5d9faba4591e1b332ddc0f590152945b22ba..4324ec8be0a2b796594053dbb0d3b1cf94de8eeb 100644 (file)
@@ -46,7 +46,6 @@ public class Result_NetAddressDecodeErrorZ extends CommonBase {
        public static Result_NetAddressDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NetAddressDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NetAddressDecodeErrorZ ret_hu_conv = Result_NetAddressDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 1d2977a4b2040bbbf8c878807de750b21d1f566d..950f8403220d74900235e7c4848c958b076eee4a 100644 (file)
@@ -40,14 +40,12 @@ public class Result_NetworkGraphDecodeErrorZ extends CommonBase {
        public static Result_NetworkGraphDecodeErrorZ constructor_ok(NetworkGraph o) {
                number ret = bindings.CResult_NetworkGraphDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_NetworkGraphDecodeErrorZ ret_hu_conv = Result_NetworkGraphDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_NetworkGraphDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NetworkGraphDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NetworkGraphDecodeErrorZ ret_hu_conv = Result_NetworkGraphDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 06a42d6ccdf4e139d6d500b0a3b29427312aded5..a0dba6afab20f8037df01217d1eb959202eef30c 100644 (file)
@@ -40,14 +40,12 @@ public class Result_NodeAnnouncementDecodeErrorZ extends CommonBase {
        public static Result_NodeAnnouncementDecodeErrorZ constructor_ok(NodeAnnouncement o) {
                number ret = bindings.CResult_NodeAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_NodeAnnouncementDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_NodeAnnouncementDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NodeAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NodeAnnouncementDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 9d2efb4f8689531c8898664e85d5d41738e3ad6e..4ce84e362444c292f1643c0907463cffcd7a407d 100644 (file)
@@ -40,14 +40,12 @@ public class Result_NodeAnnouncementInfoDecodeErrorZ extends CommonBase {
        public static Result_NodeAnnouncementInfoDecodeErrorZ constructor_ok(NodeAnnouncementInfo o) {
                number ret = bindings.CResult_NodeAnnouncementInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_NodeAnnouncementInfoDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_NodeAnnouncementInfoDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NodeAnnouncementInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NodeAnnouncementInfoDecodeErrorZ ret_hu_conv = Result_NodeAnnouncementInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c3b4df5e87cb6adbaf58081ce0c40e49f6854006..ce3cbcf27bb03ecd6e603a47eb0a57832c2b51bf 100644 (file)
@@ -40,14 +40,12 @@ public class Result_NodeFeaturesDecodeErrorZ extends CommonBase {
        public static Result_NodeFeaturesDecodeErrorZ constructor_ok(NodeFeatures o) {
                number ret = bindings.CResult_NodeFeaturesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_NodeFeaturesDecodeErrorZ ret_hu_conv = Result_NodeFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_NodeFeaturesDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NodeFeaturesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NodeFeaturesDecodeErrorZ ret_hu_conv = Result_NodeFeaturesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 73afdf742faf1c791d221ba417bcbf29bcd75d5a..d52fae8d094475257365b13981830019e1fa18f1 100644 (file)
@@ -40,14 +40,12 @@ public class Result_NodeInfoDecodeErrorZ extends CommonBase {
        public static Result_NodeInfoDecodeErrorZ constructor_ok(NodeInfo o) {
                number ret = bindings.CResult_NodeInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_NodeInfoDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_NodeInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NodeInfoDecodeErrorZ ret_hu_conv = Result_NodeInfoDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ffc9640d323be3e00244ad1214aacc8ce00af825..a796ee9e30337aa376875479c2fe96e7643b82fe 100644 (file)
@@ -41,7 +41,6 @@ public class Result_NoneLightningErrorZ extends CommonBase {
        public static Result_NoneLightningErrorZ constructor_err(LightningError e) {
                number ret = bindings.CResult_NoneLightningErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3aea907f2fec294d3393f01dc121f7709292237c..75082d32d3c751381291e171aeee277a084b4eb8 100644 (file)
@@ -41,7 +41,6 @@ public class Result_NoneMonitorUpdateErrorZ extends CommonBase {
        public static Result_NoneMonitorUpdateErrorZ constructor_err(MonitorUpdateError e) {
                number ret = bindings.CResult_NoneMonitorUpdateErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NoneMonitorUpdateErrorZ ret_hu_conv = Result_NoneMonitorUpdateErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 181e70fb20a4b59b0e677f052e976756436f77a1..9925e91c9000dcfb508c6bd3bf17a1d1118a7d86 100644 (file)
@@ -41,7 +41,6 @@ public class Result_NonePeerHandleErrorZ extends CommonBase {
        public static Result_NonePeerHandleErrorZ constructor_err(PeerHandleError e) {
                number ret = bindings.CResult_NonePeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_NonePeerHandleErrorZ ret_hu_conv = Result_NonePeerHandleErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 8c8432cd7e927f3eb221db17da313b469b9fe5b8..874a9e1dfe2dc2845b553527c9376bca8d9e7f1c 100644 (file)
@@ -40,14 +40,12 @@ public class Result_OpenChannelDecodeErrorZ extends CommonBase {
        public static Result_OpenChannelDecodeErrorZ constructor_ok(OpenChannel o) {
                number ret = bindings.CResult_OpenChannelDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_OpenChannelDecodeErrorZ ret_hu_conv = Result_OpenChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_OpenChannelDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_OpenChannelDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_OpenChannelDecodeErrorZ ret_hu_conv = Result_OpenChannelDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 3630f89b3adbb46f8f2bb6b45d080b301e6d00d9..85558e369f218f3489b32862379fbe17a177466d 100644 (file)
@@ -40,14 +40,12 @@ public class Result_OutPointDecodeErrorZ extends CommonBase {
        public static Result_OutPointDecodeErrorZ constructor_ok(OutPoint o) {
                number ret = bindings.CResult_OutPointDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_OutPointDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_OutPointDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index ddb146b9081a7e974d979a789482e216787c5008..871d8843e180485e33a2230c07609e9e9af2d047 100644 (file)
@@ -37,7 +37,6 @@ public class Result_PayeePubKeyErrorZ extends CommonBase {
        public static Result_PayeePubKeyErrorZ constructor_ok(PayeePubKey o) {
                number ret = bindings.CResult_PayeePubKeyErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_PayeePubKeyErrorZ ret_hu_conv = Result_PayeePubKeyErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 11357f3b35bb23fa6a0a11164ac9068e70e0ab3c..f7ee22b9599709e138f73404e53a5ca62e3f6187 100644 (file)
@@ -40,14 +40,12 @@ public class Result_PingDecodeErrorZ extends CommonBase {
        public static Result_PingDecodeErrorZ constructor_ok(Ping o) {
                number ret = bindings.CResult_PingDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_PingDecodeErrorZ ret_hu_conv = Result_PingDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_PingDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_PingDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_PingDecodeErrorZ ret_hu_conv = Result_PingDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 9680b035f4d1278be8b5d744df7db742351c726e..1e84dee8703d8f6511f0fa8f3aefe36f46567ed4 100644 (file)
@@ -40,14 +40,12 @@ public class Result_PongDecodeErrorZ extends CommonBase {
        public static Result_PongDecodeErrorZ constructor_ok(Pong o) {
                number ret = bindings.CResult_PongDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_PongDecodeErrorZ ret_hu_conv = Result_PongDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_PongDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_PongDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_PongDecodeErrorZ ret_hu_conv = Result_PongDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 39e685c0546cfbbd0552f1b316f27eb7590e0d52..beb9b74f030c743f2f6160858308c3549bdfa5ba 100644 (file)
@@ -37,7 +37,6 @@ public class Result_PositiveTimestampCreationErrorZ extends CommonBase {
        public static Result_PositiveTimestampCreationErrorZ constructor_ok(PositiveTimestamp o) {
                number ret = bindings.CResult_PositiveTimestampCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_PositiveTimestampCreationErrorZ ret_hu_conv = Result_PositiveTimestampCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 40e5e99eae07b76b35e2f6b91bba98a3a8b52eff..37f9b88c44e7bdaecd9e8048281ae77c7bf205f2 100644 (file)
@@ -37,7 +37,6 @@ public class Result_PrivateRouteCreationErrorZ extends CommonBase {
        public static Result_PrivateRouteCreationErrorZ constructor_ok(PrivateRoute o) {
                number ret = bindings.CResult_PrivateRouteCreationErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_PrivateRouteCreationErrorZ ret_hu_conv = Result_PrivateRouteCreationErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 026f7962f8e6ce3ea784cecab75792d8dd650c44..94af8564938d1821dd1d586e616045420b09fa20 100644 (file)
@@ -40,14 +40,12 @@ public class Result_QueryChannelRangeDecodeErrorZ extends CommonBase {
        public static Result_QueryChannelRangeDecodeErrorZ constructor_ok(QueryChannelRange o) {
                number ret = bindings.CResult_QueryChannelRangeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_QueryChannelRangeDecodeErrorZ ret_hu_conv = Result_QueryChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_QueryChannelRangeDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_QueryChannelRangeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_QueryChannelRangeDecodeErrorZ ret_hu_conv = Result_QueryChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index e3baf6bdb3fb0e3fc15b732f8dfdc75899f11bee..4031ee1a9aeb4462e058b15efb078f5f0e5f70b7 100644 (file)
@@ -40,14 +40,12 @@ public class Result_QueryShortChannelIdsDecodeErrorZ extends CommonBase {
        public static Result_QueryShortChannelIdsDecodeErrorZ constructor_ok(QueryShortChannelIds o) {
                number ret = bindings.CResult_QueryShortChannelIdsDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_QueryShortChannelIdsDecodeErrorZ ret_hu_conv = Result_QueryShortChannelIdsDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_QueryShortChannelIdsDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_QueryShortChannelIdsDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_QueryShortChannelIdsDecodeErrorZ ret_hu_conv = Result_QueryShortChannelIdsDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 79323c14fa712a156a97140df8a65bd59f17702a..d2217cfc7b26476341afdca9d14bc08c78e86c07 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ReplyChannelRangeDecodeErrorZ extends CommonBase {
        public static Result_ReplyChannelRangeDecodeErrorZ constructor_ok(ReplyChannelRange o) {
                number ret = bindings.CResult_ReplyChannelRangeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ReplyChannelRangeDecodeErrorZ ret_hu_conv = Result_ReplyChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ReplyChannelRangeDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ReplyChannelRangeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ReplyChannelRangeDecodeErrorZ ret_hu_conv = Result_ReplyChannelRangeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index eb15da728e60088623fef3bda58c1732307defb9..df3438a887a3d3fa703e4d36b37800afecf99834 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase {
        public static Result_ReplyShortChannelIdsEndDecodeErrorZ constructor_ok(ReplyShortChannelIdsEnd o) {
                number ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ReplyShortChannelIdsEndDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 33d03d068d61cb67db1797b04eb4115fa4d87637..3f99cd2827d4768bee1bc66b6b2d2d3377a6908a 100644 (file)
@@ -40,14 +40,12 @@ public class Result_RevokeAndACKDecodeErrorZ extends CommonBase {
        public static Result_RevokeAndACKDecodeErrorZ constructor_ok(RevokeAndACK o) {
                number ret = bindings.CResult_RevokeAndACKDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_RevokeAndACKDecodeErrorZ ret_hu_conv = Result_RevokeAndACKDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_RevokeAndACKDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_RevokeAndACKDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_RevokeAndACKDecodeErrorZ ret_hu_conv = Result_RevokeAndACKDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 509772505aa29073af3d96fa761da70dbd5bbf96..059b0ee2819b7b2cb4dc2f8cc1f28192a11e6438 100644 (file)
@@ -40,14 +40,12 @@ public class Result_RouteDecodeErrorZ extends CommonBase {
        public static Result_RouteDecodeErrorZ constructor_ok(Route o) {
                number ret = bindings.CResult_RouteDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_RouteDecodeErrorZ ret_hu_conv = Result_RouteDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_RouteDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_RouteDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_RouteDecodeErrorZ ret_hu_conv = Result_RouteDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 9ad8c5e917dfab4e384c5edceddd08403ad60de1..6cc99b22a910c65370f5bac2971e7655d9e8b126 100644 (file)
@@ -40,14 +40,12 @@ public class Result_RouteHopDecodeErrorZ extends CommonBase {
        public static Result_RouteHopDecodeErrorZ constructor_ok(RouteHop o) {
                number ret = bindings.CResult_RouteHopDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_RouteHopDecodeErrorZ ret_hu_conv = Result_RouteHopDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_RouteHopDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_RouteHopDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_RouteHopDecodeErrorZ ret_hu_conv = Result_RouteHopDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 08893bd15405450fad8da4540f2716d1f58f4020..c7ad17f84d101f8187efd9fbc458ec1f98a71c87 100644 (file)
@@ -40,14 +40,12 @@ public class Result_RouteLightningErrorZ extends CommonBase {
        public static Result_RouteLightningErrorZ constructor_ok(Route o) {
                number ret = bindings.CResult_RouteLightningErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_RouteLightningErrorZ constructor_err(LightningError e) {
                number ret = bindings.CResult_RouteLightningErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index cdeda046490a6897ff5ea120089a872445c0b0cb..0c08bed464a18653cbb733d608856e0164299ead 100644 (file)
@@ -40,14 +40,12 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
        public static Result_RoutingFeesDecodeErrorZ constructor_ok(RoutingFees o) {
                number ret = bindings.CResult_RoutingFeesDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_RoutingFeesDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_RoutingFeesDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index dcc445566cf0018956f593821f6a257f015233d1..98c30c01779131cba26f2f2f016ae8a7965789d2 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ShutdownDecodeErrorZ extends CommonBase {
        public static Result_ShutdownDecodeErrorZ constructor_ok(Shutdown o) {
                number ret = bindings.CResult_ShutdownDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ShutdownDecodeErrorZ ret_hu_conv = Result_ShutdownDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ShutdownDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ShutdownDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ShutdownDecodeErrorZ ret_hu_conv = Result_ShutdownDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 8440e13a23a9cd3c8d77bed6b6cb9b13d8f16a48..b2ec0a9208831d2b41a02d52ab27390e66c447d4 100644 (file)
@@ -40,14 +40,12 @@ public class Result_ShutdownScriptDecodeErrorZ extends CommonBase {
        public static Result_ShutdownScriptDecodeErrorZ constructor_ok(ShutdownScript o) {
                number ret = bindings.CResult_ShutdownScriptDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ShutdownScriptDecodeErrorZ ret_hu_conv = Result_ShutdownScriptDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_ShutdownScriptDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_ShutdownScriptDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_ShutdownScriptDecodeErrorZ ret_hu_conv = Result_ShutdownScriptDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 36edfb32403dd514f89b5d1446578b111db914ef..29394b34f8c9ab4641ad6974e05175fcfcc60f88 100644 (file)
@@ -40,7 +40,6 @@ public class Result_ShutdownScriptInvalidShutdownScriptZ extends CommonBase {
        public static Result_ShutdownScriptInvalidShutdownScriptZ constructor_ok(ShutdownScript o) {
                number ret = bindings.CResult_ShutdownScriptInvalidShutdownScriptZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_ShutdownScriptInvalidShutdownScriptZ ret_hu_conv = Result_ShutdownScriptInvalidShutdownScriptZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 564dd18fe1a53d6368d5d29e5a2bcbb1d0ff65b7..ea9586c461792a3789d115fb809bca8163b33a50 100644 (file)
@@ -47,7 +47,6 @@ public class Result_SignDecodeErrorZ extends CommonBase {
        public static Result_SignDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_SignDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_SignDecodeErrorZ ret_hu_conv = Result_SignDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 4e309b2a0456fdeb89eda824cb7a3d453383b53a..5c3bdf2b71c718ce4c08bfa53174881114465f70 100644 (file)
@@ -35,7 +35,6 @@ public class Result_SignedRawInvoiceNoneZ extends CommonBase {
        public static Result_SignedRawInvoiceNoneZ constructor_ok(SignedRawInvoice o) {
                number ret = bindings.CResult_SignedRawInvoiceNoneZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_SignedRawInvoiceNoneZ ret_hu_conv = Result_SignedRawInvoiceNoneZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index 881d85b5205cabfa054be09dfad6d1c2aac3d1f7..dda6dbffd073910ba295705148cc7c3d7e6f9f59 100644 (file)
@@ -46,7 +46,6 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase {
        public static Result_SpendableOutputDescriptorDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_SpendableOutputDescriptorDecodeErrorZ ret_hu_conv = Result_SpendableOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 17eb578a5efa9496d0a0c11c9d55e4fa33cc71d5..c798e1513e54adf0ad36c92dfc8284126f809e67 100644 (file)
@@ -40,14 +40,12 @@ public class Result_StaticPaymentOutputDescriptorDecodeErrorZ extends CommonBase
        public static Result_StaticPaymentOutputDescriptorDecodeErrorZ constructor_ok(StaticPaymentOutputDescriptor o) {
                number ret = bindings.CResult_StaticPaymentOutputDescriptorDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_StaticPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_StaticPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_StaticPaymentOutputDescriptorDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_StaticPaymentOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_StaticPaymentOutputDescriptorDecodeErrorZ ret_hu_conv = Result_StaticPaymentOutputDescriptorDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 0356a8568c79f7f4e07cead740e239d2711b6f59..079c5132958eb9c2e2acee87acfa4a3f17d1bddd 100644 (file)
@@ -40,14 +40,12 @@ public class Result_TxCreationKeysDecodeErrorZ extends CommonBase {
        public static Result_TxCreationKeysDecodeErrorZ constructor_ok(TxCreationKeys o) {
                number ret = bindings.CResult_TxCreationKeysDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_TxCreationKeysDecodeErrorZ ret_hu_conv = Result_TxCreationKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_TxCreationKeysDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_TxCreationKeysDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_TxCreationKeysDecodeErrorZ ret_hu_conv = Result_TxCreationKeysDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 77fef19bd35532228462562ac1466a0aec0ce530..efcb2f496455837a960ee6cbfd15edc80f92eedd 100644 (file)
@@ -37,7 +37,6 @@ public class Result_TxCreationKeysErrorZ extends CommonBase {
        public static Result_TxCreationKeysErrorZ constructor_ok(TxCreationKeys o) {
                number ret = bindings.CResult_TxCreationKeysErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_TxCreationKeysErrorZ ret_hu_conv = Result_TxCreationKeysErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
index a7a4011c6526c591a3f2c9967abd59383aa2b6a3..958a7dd4234d9b61e13a296a684efadf50fed1c2 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
        public static Result_UnsignedChannelAnnouncementDecodeErrorZ constructor_ok(UnsignedChannelAnnouncement o) {
                number ret = bindings.CResult_UnsignedChannelAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UnsignedChannelAnnouncementDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UnsignedChannelAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 2e1d34202a34b110a8b87df4d2da411b458a3f35..979f6b492a8a38495d673d9d4c16919d62502c66 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
        public static Result_UnsignedChannelUpdateDecodeErrorZ constructor_ok(UnsignedChannelUpdate o) {
                number ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UnsignedChannelUpdateDecodeErrorZ ret_hu_conv = Result_UnsignedChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UnsignedChannelUpdateDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UnsignedChannelUpdateDecodeErrorZ ret_hu_conv = Result_UnsignedChannelUpdateDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 95bdf2820f8cbd1d4a4991bd2a7661fa21659b0b..0dae74270fa3982b2724a38fea0fce0bb15e82be 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UnsignedNodeAnnouncementDecodeErrorZ extends CommonBase {
        public static Result_UnsignedNodeAnnouncementDecodeErrorZ constructor_ok(UnsignedNodeAnnouncement o) {
                number ret = bindings.CResult_UnsignedNodeAnnouncementDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UnsignedNodeAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedNodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UnsignedNodeAnnouncementDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UnsignedNodeAnnouncementDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UnsignedNodeAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedNodeAnnouncementDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index a5a53ec5ff72226def32a354203999b9b9ce7619..9392c197f09b6bbaaa07c09df7d44694c3fdc8e9 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UpdateAddHTLCDecodeErrorZ extends CommonBase {
        public static Result_UpdateAddHTLCDecodeErrorZ constructor_ok(UpdateAddHTLC o) {
                number ret = bindings.CResult_UpdateAddHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UpdateAddHTLCDecodeErrorZ ret_hu_conv = Result_UpdateAddHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UpdateAddHTLCDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UpdateAddHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UpdateAddHTLCDecodeErrorZ ret_hu_conv = Result_UpdateAddHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index c0494e0271cf425c0e2d355849bf54cff2d5d4a3..7be6bd51f97028662af42dbc0d6bb90a5b24089d 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UpdateFailHTLCDecodeErrorZ extends CommonBase {
        public static Result_UpdateFailHTLCDecodeErrorZ constructor_ok(UpdateFailHTLC o) {
                number ret = bindings.CResult_UpdateFailHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UpdateFailHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UpdateFailHTLCDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UpdateFailHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UpdateFailHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 212c1d98e1fd752bd8527987617663452b8c1cb4..7777a8a082ac4f0448386a1fb48c3afc01903beb 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UpdateFailMalformedHTLCDecodeErrorZ extends CommonBase {
        public static Result_UpdateFailMalformedHTLCDecodeErrorZ constructor_ok(UpdateFailMalformedHTLC o) {
                number ret = bindings.CResult_UpdateFailMalformedHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UpdateFailMalformedHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailMalformedHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UpdateFailMalformedHTLCDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UpdateFailMalformedHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UpdateFailMalformedHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailMalformedHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index a5ba9a253b9dd3a7b58cbdd04a095e96afac7c60..a7488f364d0206227e0fb17f22c5bcd0583138cb 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UpdateFeeDecodeErrorZ extends CommonBase {
        public static Result_UpdateFeeDecodeErrorZ constructor_ok(UpdateFee o) {
                number ret = bindings.CResult_UpdateFeeDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UpdateFeeDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UpdateFeeDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 52195d9e710c3cf2e0a45cdfe77c898fdbdcc3a1..f054b92fdd7473deace155cea4abc35c795ce9c8 100644 (file)
@@ -40,14 +40,12 @@ public class Result_UpdateFulfillHTLCDecodeErrorZ extends CommonBase {
        public static Result_UpdateFulfillHTLCDecodeErrorZ constructor_ok(UpdateFulfillHTLC o) {
                number ret = bindings.CResult_UpdateFulfillHTLCDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_UpdateFulfillHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFulfillHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(o);
                return ret_hu_conv;
        }
 
        public static Result_UpdateFulfillHTLCDecodeErrorZ constructor_err(DecodeError e) {
                number ret = bindings.CResult_UpdateFulfillHTLCDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_UpdateFulfillHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFulfillHTLCDecodeErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 449afc5956c7c0e4a42ebcfc4dfa1f715d6e546b..803ef06d87a013ec97269915d1e1242c31272366 100644 (file)
@@ -43,7 +43,6 @@ public class Result_boolLightningErrorZ extends CommonBase {
        public static Result_boolLightningErrorZ constructor_err(LightningError e) {
                number ret = bindings.CResult_boolLightningErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_boolLightningErrorZ ret_hu_conv = Result_boolLightningErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index be2f7b91df600da2d464d902877e1e62a908b845..337145dcd09206f867d5ce7582944f91fb08d840 100644 (file)
@@ -43,7 +43,6 @@ public class Result_boolPeerHandleErrorZ extends CommonBase {
        public static Result_boolPeerHandleErrorZ constructor_err(PeerHandleError e) {
                number ret = bindings.CResult_boolPeerHandleErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_boolPeerHandleErrorZ ret_hu_conv = Result_boolPeerHandleErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(e);
                return ret_hu_conv;
        }
 
index 7e345a99c3075ea6f819b3df8b13cb1ca1a2e255..330985650786531827d60834305707b3295eeca1 100644 (file)
@@ -37,14 +37,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_paths(RouteHop[][] val) {
                bindings.Route_set_paths(this.ptr, val != null ? Arrays.stream(val).map(val_conv_12 -> val_conv_12 != null ? Arrays.stream(val_conv_12).map(val_conv_12_conv_10 -> val_conv_12_conv_10 == null ? 0 : val_conv_12_conv_10.ptr & ~1).toArray(number[]::new) : null).toArray(number[][]::new) : null);
-               for (RouteHop[] val_conv_12: val) { for (RouteHop val_conv_12_conv_10: val_conv_12) { this.ptrs_to.add(val_conv_12_conv_10); }; };
        }
 
        public static Route constructor_new(RouteHop[][] paths_arg) {
                number ret = bindings.Route_new(paths_arg != null ? Arrays.stream(paths_arg).map(paths_arg_conv_12 -> paths_arg_conv_12 != null ? Arrays.stream(paths_arg_conv_12).map(paths_arg_conv_12_conv_10 -> paths_arg_conv_12_conv_10 == null ? 0 : paths_arg_conv_12_conv_10.ptr & ~1).toArray(number[]::new) : null).toArray(number[][]::new) : null);
                const ret_hu_conv: Route = new Route(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               for (RouteHop[] paths_arg_conv_12: paths_arg) { for (RouteHop paths_arg_conv_12_conv_10: paths_arg_conv_12) { ret_hu_conv.ptrs_to.add(paths_arg_conv_12_conv_10); }; };
                return ret_hu_conv;
        }
 
index eb888ebe779fa971b58bf4c7da2c845504850fdb..461b00ddd08f5b2a6466477ae287483858943f8d 100644 (file)
@@ -45,7 +45,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_fees(RoutingFees val) {
                bindings.RouteHintHop_set_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_cltv_expiry_delta() {
@@ -83,7 +82,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.RouteHintHop_new(src_node_id_arg, short_channel_id_arg, fees_arg == null ? 0 : fees_arg.ptr & ~1, cltv_expiry_delta_arg, htlc_minimum_msat_arg.ptr, htlc_maximum_msat_arg.ptr);
                const ret_hu_conv: RouteHintHop = new RouteHintHop(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(fees_arg);
                return ret_hu_conv;
        }
 
index 880cd88a1a709629b69e5f5a4d1b033b1c248e48..b3ba3d73695b8e7667bebbf0be8c9bc8401253b6 100644 (file)
@@ -36,7 +36,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_node_features(NodeFeatures val) {
                bindings.RouteHop_set_node_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_short_channel_id() {
@@ -57,7 +56,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_channel_features(ChannelFeatures val) {
                bindings.RouteHop_set_channel_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_fee_msat() {
@@ -82,8 +80,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.RouteHop_new(pubkey_arg, node_features_arg == null ? 0 : node_features_arg.ptr & ~1, short_channel_id_arg, channel_features_arg == null ? 0 : channel_features_arg.ptr & ~1, fee_msat_arg, cltv_expiry_delta_arg);
                const ret_hu_conv: RouteHop = new RouteHop(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(node_features_arg);
-               ret_hu_conv.ptrs_to.add(channel_features_arg);
                return ret_hu_conv;
        }
 
index 307db61cc7109dd7a85fe66710a58fc63fa230c9..c83f25abdb775e321b7f96419ef2bd3456fc83fb 100644 (file)
@@ -63,7 +63,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                                                get_next_node_announcements (starting_point: Uint8Array, batch_amount: number): number[] {
                                                        NodeAnnouncement[] ret = arg.get_next_node_announcements(starting_point, batch_amount);
                                result: number[] = ret != null ? Arrays.stream(ret).map(ret_conv_18 -> ret_conv_18 == null ? 0 : ret_conv_18.ptr & ~1).toArray(number[]::new) : null;
-                               for (NodeAnnouncement ret_conv_18: ret) { impl_holder.held.ptrs_to.add(ret_conv_18); };
                                return result;
                                                },
 
@@ -180,28 +179,24 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_NoneLightningErrorZ handle_reply_channel_range(Uint8Array their_node_id, ReplyChannelRange msg) {
                number ret = bindings.RoutingMessageHandler_handle_reply_channel_range(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
        public Result_NoneLightningErrorZ handle_reply_short_channel_ids_end(Uint8Array their_node_id, ReplyShortChannelIdsEnd msg) {
                number ret = bindings.RoutingMessageHandler_handle_reply_short_channel_ids_end(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
        public Result_NoneLightningErrorZ handle_query_channel_range(Uint8Array their_node_id, QueryChannelRange msg) {
                number ret = bindings.RoutingMessageHandler_handle_query_channel_range(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
        public Result_NoneLightningErrorZ handle_query_short_channel_ids(Uint8Array their_node_id, QueryShortChannelIds msg) {
                number ret = bindings.RoutingMessageHandler_handle_query_short_channel_ids(this.ptr, their_node_id, msg == null ? 0 : msg.ptr & ~1);
                Result_NoneLightningErrorZ ret_hu_conv = Result_NoneLightningErrorZ.constr_from_ptr(ret);
-               this.ptrs_to.add(msg);
                return ret_hu_conv;
        }
 
index 1d92ac453518677f25ab87947c6af39a65338659..e99c5818519833df7c4442b5ffd45794571b8ae9 100644 (file)
@@ -18,7 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                                        super(bindings.LDKSign_new(arg, baseSign, pubkeys == null ? 0 : pubkeys.ptr & ~1));
                                        this.ptrs_to.push(arg);
                                        this.ptrs_to.push(baseSign);
-this.ptrs_to.add(pubkeys);
 
                                    }
                 }
index c6e5c76a78d80910349ed69bd36f6d49639f42df..27312a3ae4cb12f362fc34697af9457d618f77c4 100644 (file)
@@ -55,7 +55,6 @@ export class CreationError extends SignOrCreationError {
 
        public boolean eq(SignOrCreationError b) {
                boolean ret = bindings.SignOrCreationError_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
                return ret;
        }
 
index 33d2980825027d12c10213a4959019da68094829..bdd9f6599f0dff99e155f296a6f3d2fdb796bc44 100644 (file)
@@ -68,7 +68,6 @@ export class StaticPaymentOutput extends SpendableOutputDescriptor {
                number ret = bindings.SpendableOutputDescriptor_static_output(outpoint == null ? 0 : outpoint.ptr & ~1, output.ptr);
                SpendableOutputDescriptor ret_hu_conv = SpendableOutputDescriptor.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint);
                return ret_hu_conv;
        }
 
@@ -76,7 +75,6 @@ export class StaticPaymentOutput extends SpendableOutputDescriptor {
                number ret = bindings.SpendableOutputDescriptor_delayed_payment_output(a == null ? 0 : a.ptr & ~1);
                SpendableOutputDescriptor ret_hu_conv = SpendableOutputDescriptor.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
@@ -84,7 +82,6 @@ export class StaticPaymentOutput extends SpendableOutputDescriptor {
                number ret = bindings.SpendableOutputDescriptor_static_payment_output(a == null ? 0 : a.ptr & ~1);
                SpendableOutputDescriptor ret_hu_conv = SpendableOutputDescriptor.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
index e126ff06063f7a1db28ca898afdb9b0a0bdbb80f..62428567d08bb317a84cf07ff68da5883cc5dbff 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_outpoint(OutPoint val) {
                bindings.StaticPaymentOutputDescriptor_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public void set_output(TxOut val) {
@@ -56,7 +55,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.StaticPaymentOutputDescriptor_new(outpoint_arg == null ? 0 : outpoint_arg.ptr & ~1, output_arg.ptr, channel_keys_id_arg, channel_value_satoshis_arg);
                const ret_hu_conv: StaticPaymentOutputDescriptor = new StaticPaymentOutputDescriptor(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint_arg);
                return ret_hu_conv;
        }
 
index 045ab2e89fafb495c955321786bdd1a8af263ce3..31156f91a796cbb2473527833aa942ca464709ff 100644 (file)
@@ -39,8 +39,8 @@ import * as bindings from '../bindings' // TODO: figure out location
                ret_hu_conv.ptrs_to.add(b_tx_broadcaster);
                ret_hu_conv.ptrs_to.add(b_logger);
                ret_hu_conv.ptrs_to.add(b_keys_manager);
-               ret_hu_conv.ptrs_to.add(b_config);
-               ret_hu_conv.ptrs_to.add(b_params);
+               ;
+               ;
                return ret_hu_conv;
        }
 
index b6eb1583584dbd150b00f25cc66d01450a1289fa..7fbdcc751179882b8765f13b1f825b9387e9070c 100644 (file)
@@ -41,7 +41,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.C2Tuple_BlockHashChannelMonitorZ_new(a, b == null ? 0 : b.ptr & ~1);
                TwoTuple_BlockHashChannelMonitorZ ret_hu_conv = new TwoTuple_BlockHashChannelMonitorZ(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(b);
                return ret_hu_conv;
        }
 
index 1a45c6afc1f5de5f86b3bd2300905d3e8d7526ee..7949951890157fd25663c3bff2845362b5f521fd 100644 (file)
@@ -41,7 +41,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.C2Tuple_OutPointScriptZ_new(a == null ? 0 : a.ptr & ~1, b);
                TwoTuple_OutPointScriptZ ret_hu_conv = new TwoTuple_OutPointScriptZ(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }
 
index 3966cb206b6ca37d92f5c83ce7b9ba8a870c6f14..34645a6805dd81e79933d6a4987dda468dfd0e71 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(ChannelFeatures val) {
                bindings.UnsignedChannelAnnouncement_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_chain_hash() {
index 7a013cbcdbc99f201bc737d5cc04ca6c2e8721e9..b64c4f853cc3597a665ebe51fdc838795b8cfd84 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(NodeFeatures val) {
                bindings.UnsignedNodeAnnouncement_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public number get_timestamp() {
index 0e59b8fbb8434f31c286b71a04ffa79c786fcf98..ed711c9487ff3b806cb69d7924d71ceebcafd0c8 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_own_channel_config(ChannelHandshakeConfig val) {
                bindings.UserConfig_set_own_channel_config(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public ChannelHandshakeLimits get_peer_channel_config_limits() {
@@ -39,7 +38,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_peer_channel_config_limits(ChannelHandshakeLimits val) {
                bindings.UserConfig_set_peer_channel_config_limits(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public ChannelConfig get_channel_options() {
@@ -51,7 +49,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_channel_options(ChannelConfig val) {
                bindings.UserConfig_set_channel_options(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public boolean get_accept_forwards_to_priv_channels() {
@@ -67,9 +64,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.UserConfig_new(own_channel_config_arg == null ? 0 : own_channel_config_arg.ptr & ~1, peer_channel_config_limits_arg == null ? 0 : peer_channel_config_limits_arg.ptr & ~1, channel_options_arg == null ? 0 : channel_options_arg.ptr & ~1, accept_forwards_to_priv_channels_arg);
                const ret_hu_conv: UserConfig = new UserConfig(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(own_channel_config_arg);
-               ret_hu_conv.ptrs_to.add(peer_channel_config_limits_arg);
-               ret_hu_conv.ptrs_to.add(channel_options_arg);
                return ret_hu_conv;
        }
 
index 984d60f78cdf7a4abe2a8399c8a7dc3ce06a1282..9e1cf0c848be6b41e5cfcbe5c2773933021de378 100644 (file)
@@ -30,7 +30,7 @@
                ret_hu_conv.ptrs_to.add(arg_chain_monitor);
                ret_hu_conv.ptrs_to.add(arg_tx_broadcaster);
                ret_hu_conv.ptrs_to.add(arg_logger);
-               ret_hu_conv.ptrs_to.add(arg_default_config);
+               ;
                for (ChannelMonitor arg_channel_monitors_conv_16: arg_channel_monitors) { ret_hu_conv.ptrs_to.add(arg_channel_monitors_conv_16); };
                return ret_hu_conv;
        }
@@ -42,7 +42,6 @@
 
        public static Uint8Array constructor_build_closing_transaction(number to_holder_value_sat, number to_counterparty_value_sat, Uint8Array to_holder_script, Uint8Array to_counterparty_script, OutPoint funding_outpoint) {
                Uint8Array ret = bindings.build_closing_transaction(to_holder_value_sat, to_counterparty_value_sat, to_holder_script, to_counterparty_script, funding_outpoint == null ? 0 : funding_outpoint.ptr & ~1);
-               // this.ptrs_to.add(funding_outpoint);
                return ret;
        }
 
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(network);
                for (ChannelDetails first_hops_conv_16: first_hops) { ret_hu_conv.ptrs_to.add(first_hops_conv_16); };
-               for (RouteHint last_hops_conv_11: last_hops) { ret_hu_conv.ptrs_to.add(last_hops_conv_11); };
                ret_hu_conv.ptrs_to.add(logger);
                return ret_hu_conv;
        }
                number ret = bindings.get_route(our_node_id, network == null ? 0 : network.ptr & ~1, payee, payee_features == null ? 0 : payee_features.ptr & ~1, first_hops != null ? Arrays.stream(first_hops).map(first_hops_conv_16 -> first_hops_conv_16 == null ? 0 : first_hops_conv_16.ptr & ~1).toArray(number[]::new) : null, last_hops != null ? Arrays.stream(last_hops).map(last_hops_conv_11 -> last_hops_conv_11 == null ? 0 : last_hops_conv_11.ptr & ~1).toArray(number[]::new) : null, final_value_msat, final_cltv, logger == null ? 0 : logger.ptr);
                Result_RouteLightningErrorZ ret_hu_conv = Result_RouteLightningErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(network);
-               ret_hu_conv.ptrs_to.add(payee_features);
                for (ChannelDetails first_hops_conv_16: first_hops) { ret_hu_conv.ptrs_to.add(first_hops_conv_16); };
-               for (RouteHint last_hops_conv_11: last_hops) { ret_hu_conv.ptrs_to.add(last_hops_conv_11); };
                ret_hu_conv.ptrs_to.add(logger);
                return ret_hu_conv;
        }
index bfb13055a6e1278baecf8eb1e553da85a5182c95..5026f0b3c24bd5aa5ddeb666ac30ba170047fd90 100644 (file)
@@ -77,16 +77,12 @@ import * as bindings from '../bindings' // TODO: figure out location
        public Result_NoneChannelMonitorUpdateErrZ watch_channel(OutPoint funding_txo, ChannelMonitor monitor) {
                number ret = bindings.Watch_watch_channel(this.ptr, funding_txo == null ? 0 : funding_txo.ptr & ~1, monitor == null ? 0 : monitor.ptr & ~1);
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(funding_txo);
-               this.ptrs_to.add(monitor);
                return ret_hu_conv;
        }
 
        public Result_NoneChannelMonitorUpdateErrZ update_channel(OutPoint funding_txo, ChannelMonitorUpdate update) {
                number ret = bindings.Watch_update_channel(this.ptr, funding_txo == null ? 0 : funding_txo.ptr & ~1, update == null ? 0 : update.ptr & ~1);
                Result_NoneChannelMonitorUpdateErrZ ret_hu_conv = Result_NoneChannelMonitorUpdateErrZ.constr_from_ptr(ret);
-               this.ptrs_to.add(funding_txo);
-               this.ptrs_to.add(update);
                return ret_hu_conv;
        }
 
index 02e85b2dea761c8d42119a11c01fac04b6b6f12d..87aec961d98a715348a5acbdc81f10e0b2b16f88 100644 (file)
@@ -36,7 +36,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_outpoint(OutPoint val) {
                bindings.WatchedOutput_set_outpoint(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_script_pubkey() {
@@ -52,7 +51,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                number ret = bindings.WatchedOutput_new(block_hash_arg, outpoint_arg == null ? 0 : outpoint_arg.ptr & ~1, script_pubkey_arg);
                const ret_hu_conv: WatchedOutput = new WatchedOutput(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(outpoint_arg);
                return ret_hu_conv;
        }