Skip to content

Commit

Permalink
make copaquestructs publicly gettable
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-so committed May 28, 2021
1 parent 9ecb278 commit 0b1face
Show file tree
Hide file tree
Showing 227 changed files with 568 additions and 568 deletions.
684 changes: 342 additions & 342 deletions bindings/LDK/Bindings.swift

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindings/LDK/options/APIError.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class APIError {

var cOpaqueStruct: LDKAPIError?;
public internal(set) var cOpaqueStruct: LDKAPIError?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/ErrorAction.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class ErrorAction {

var cOpaqueStruct: LDKErrorAction?;
public internal(set) var cOpaqueStruct: LDKErrorAction?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/Event.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Event {

var cOpaqueStruct: LDKEvent?;
public internal(set) var cOpaqueStruct: LDKEvent?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/Fallback.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Fallback {

var cOpaqueStruct: LDKFallback?;
public internal(set) var cOpaqueStruct: LDKFallback?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/HTLCFailChannelUpdate.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class HTLCFailChannelUpdate {

var cOpaqueStruct: LDKHTLCFailChannelUpdate?;
public internal(set) var cOpaqueStruct: LDKHTLCFailChannelUpdate?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/MessageSendEvent.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class MessageSendEvent {

var cOpaqueStruct: LDKMessageSendEvent?;
public internal(set) var cOpaqueStruct: LDKMessageSendEvent?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/MonitorEvent.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class MonitorEvent {

var cOpaqueStruct: LDKMonitorEvent?;
public internal(set) var cOpaqueStruct: LDKMonitorEvent?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/NetAddress.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class NetAddress {

var cOpaqueStruct: LDKNetAddress?;
public internal(set) var cOpaqueStruct: LDKNetAddress?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Option_C2Tuple_usizeTransactionZZ {

var cOpaqueStruct: LDKCOption_C2Tuple_usizeTransactionZZ?;
public internal(set) var cOpaqueStruct: LDKCOption_C2Tuple_usizeTransactionZZ?;

/* DEFAULT_CONSTRUCTOR_START */
public init(value: C2Tuple_usizeTransactionZ?) {
Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/Option_u32Z.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Option_u32Z {

var cOpaqueStruct: LDKCOption_u32Z?;
public internal(set) var cOpaqueStruct: LDKCOption_u32Z?;

/* DEFAULT_CONSTRUCTOR_START */
public init(value: UInt32?) {
Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/Option_u64Z.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Option_u64Z {

var cOpaqueStruct: LDKCOption_u64Z?;
public internal(set) var cOpaqueStruct: LDKCOption_u64Z?;

/* DEFAULT_CONSTRUCTOR_START */
public init(value: UInt64?) {
Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/PaymentSendFailure.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class PaymentSendFailure {

var cOpaqueStruct: LDKPaymentSendFailure?;
public internal(set) var cOpaqueStruct: LDKPaymentSendFailure?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/SignOrCreationError.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class SignOrCreationError {

var cOpaqueStruct: LDKSignOrCreationError?;
public internal(set) var cOpaqueStruct: LDKSignOrCreationError?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/options/SpendableOutputDescriptor.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class SpendableOutputDescriptor {

var cOpaqueStruct: LDKSpendableOutputDescriptor?;
public internal(set) var cOpaqueStruct: LDKSpendableOutputDescriptor?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_AcceptChannelDecodeErrorZ {

var cOpaqueStruct: LDKCResult_AcceptChannelDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_AcceptChannelDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_AnnouncementSignaturesDecodeErrorZ {

var cOpaqueStruct: LDKCResult_AnnouncementSignaturesDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_AnnouncementSignaturesDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_BuiltCommitmentTransactionDecodeErrorZ {

var cOpaqueStruct: LDKCResult_BuiltCommitmentTransactionDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_BuiltCommitmentTransactionDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ {

var cOpaqueStruct: LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ {

var cOpaqueStruct: LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_C2Tuple_SignatureCVec_SignatureZZNoneZ {

var cOpaqueStruct: LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ?;
public internal(set) var cOpaqueStruct: LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CResult_NetAddressu8ZDecodeErrorZ {

var cOpaqueStruct: LDKCResult_CResult_NetAddressu8ZDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CResult_NetAddressu8ZDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ {

var cOpaqueStruct: LDKCResult_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CVec_C2Tuple_BlockHashChannelMonitorZZErrorZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_CVec_CVec_u8ZZNoneZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CVec_CVec_u8ZZNoneZ {

var cOpaqueStruct: LDKCResult_CVec_CVec_u8ZZNoneZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CVec_CVec_u8ZZNoneZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_CVec_SignatureZNoneZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CVec_SignatureZNoneZ {

var cOpaqueStruct: LDKCResult_CVec_SignatureZNoneZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CVec_SignatureZNoneZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_CVec_u8ZPeerHandleErrorZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CVec_u8ZPeerHandleErrorZ {

var cOpaqueStruct: LDKCResult_CVec_u8ZPeerHandleErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CVec_u8ZPeerHandleErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelAnnouncementDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelAnnouncementDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelAnnouncementDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelConfigDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelConfigDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelConfigDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelFeaturesDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelFeaturesDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelFeaturesDecodeErrorZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_ChannelInfoDecodeErrorZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelInfoDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelInfoDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelInfoDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelMonitorUpdateDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelMonitorUpdateDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelMonitorUpdateDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelPublicKeysDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelPublicKeysDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelPublicKeysDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelReestablishDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelReestablishDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelReestablishDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelTransactionParametersDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelTransactionParametersDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelTransactionParametersDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ChannelUpdateDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ChannelUpdateDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ChannelUpdateDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ClosingSignedDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ClosingSignedDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ClosingSignedDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CommitmentSignedDecodeErrorZ {

var cOpaqueStruct: LDKCResult_CommitmentSignedDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CommitmentSignedDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CommitmentTransactionDecodeErrorZ {

var cOpaqueStruct: LDKCResult_CommitmentTransactionDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CommitmentTransactionDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_CounterpartyChannelTransactionParametersDecodeErrorZ {

var cOpaqueStruct: LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_DescriptionCreationErrorZ {

var cOpaqueStruct: LDKCResult_DescriptionCreationErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_DescriptionCreationErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_DirectionalChannelInfoDecodeErrorZ {

var cOpaqueStruct: LDKCResult_DirectionalChannelInfoDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_DirectionalChannelInfoDecodeErrorZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_ErrorMessageDecodeErrorZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ErrorMessageDecodeErrorZ {

var cOpaqueStruct: LDKCResult_ErrorMessageDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ErrorMessageDecodeErrorZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_ExpiryTimeCreationErrorZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_ExpiryTimeCreationErrorZ {

var cOpaqueStruct: LDKCResult_ExpiryTimeCreationErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_ExpiryTimeCreationErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_FundingCreatedDecodeErrorZ {

var cOpaqueStruct: LDKCResult_FundingCreatedDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_FundingCreatedDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_FundingLockedDecodeErrorZ {

var cOpaqueStruct: LDKCResult_FundingLockedDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_FundingLockedDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_FundingSignedDecodeErrorZ {

var cOpaqueStruct: LDKCResult_FundingSignedDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_FundingSignedDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_GossipTimestampFilterDecodeErrorZ {

var cOpaqueStruct: LDKCResult_GossipTimestampFilterDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_GossipTimestampFilterDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_HTLCOutputInCommitmentDecodeErrorZ {

var cOpaqueStruct: LDKCResult_HTLCOutputInCommitmentDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_HTLCOutputInCommitmentDecodeErrorZ?;



Expand Down
2 changes: 1 addition & 1 deletion bindings/LDK/results/Result_HTLCUpdateDecodeErrorZ.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_HTLCUpdateDecodeErrorZ {

var cOpaqueStruct: LDKCResult_HTLCUpdateDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_HTLCUpdateDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_HolderCommitmentTransactionDecodeErrorZ {

var cOpaqueStruct: LDKCResult_HolderCommitmentTransactionDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_HolderCommitmentTransactionDecodeErrorZ?;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class Result_InMemorySignerDecodeErrorZ {

var cOpaqueStruct: LDKCResult_InMemorySignerDecodeErrorZ?;
public internal(set) var cOpaqueStruct: LDKCResult_InMemorySignerDecodeErrorZ?;



Expand Down
Loading

0 comments on commit 0b1face

Please sign in to comment.