@@ -7,39 +7,39 @@ open class BaseSign {
77 /* NATIVE_CALLBACKS_START */
88
99 func get_per_commitment_pointCallback( pointer: UnsafeRawPointer ? , idx: UInt64 ) -> LDKPublicKey {
10- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
10+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::get_per_commitment_point " )
1111
1212 return Bindings . new_LDKPublicKey ( array: instance. get_per_commitment_point ( idx: idx) ) ;
1313 }
1414
1515 func release_commitment_secretCallback( pointer: UnsafeRawPointer ? , idx: UInt64 ) -> LDKThirtyTwoBytes {
16- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
16+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::release_commitment_secret " )
1717
1818 return Bindings . new_LDKThirtyTwoBytes ( array: instance. release_commitment_secret ( idx: idx) ) ;
1919 }
2020
2121 func channel_keys_idCallback( pointer: UnsafeRawPointer ? ) -> LDKThirtyTwoBytes {
22- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
22+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::channel_keys_id " )
2323
2424 return Bindings . new_LDKThirtyTwoBytes ( array: instance. channel_keys_id ( ) ) ;
2525 }
2626
2727 func sign_counterparty_commitmentCallback( pointer: UnsafeRawPointer ? , commitment_txPointer: UnsafePointer < LDKCommitmentTransaction > ) -> LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ {
28- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
28+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_counterparty_commitment " )
2929 let commitment_tx = CommitmentTransaction ( pointer: commitment_txPointer. pointee) ;
3030
3131 return instance. sign_counterparty_commitment ( commitment_tx: commitment_tx) . cOpaqueStruct!;
3232 }
3333
3434 func sign_holder_commitment_and_htlcsCallback( pointer: UnsafeRawPointer ? , commitment_txPointer: UnsafePointer < LDKHolderCommitmentTransaction > ) -> LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ {
35- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
35+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_holder_commitment_and_htlcs " )
3636 let commitment_tx = HolderCommitmentTransaction ( pointer: commitment_txPointer. pointee) ;
3737
3838 return instance. sign_holder_commitment_and_htlcs ( commitment_tx: commitment_tx) . cOpaqueStruct!;
3939 }
4040
4141 func sign_justice_revoked_outputCallback( pointer: UnsafeRawPointer ? , justice_tx: LDKTransaction , input: uintptr_t , amount: UInt64 , per_commitment_keyPointer: UnsafePointer < ( UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 ) > ? ) -> LDKCResult_SignatureNoneZ {
42- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
42+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_justice_revoked_output " )
4343
4444 var per_commitment_key : [ UInt8 ] ? = nil
4545 if let per_commitment_keyUnwrapped = per_commitment_keyPointer {
@@ -50,7 +50,7 @@ open class BaseSign {
5050 }
5151
5252 func sign_justice_revoked_htlcCallback( pointer: UnsafeRawPointer ? , justice_tx: LDKTransaction , input: uintptr_t , amount: UInt64 , per_commitment_keyPointer: UnsafePointer < ( UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 ) > ? , htlcPointer: UnsafePointer < LDKHTLCOutputInCommitment > ) -> LDKCResult_SignatureNoneZ {
53- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
53+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_justice_revoked_htlc " )
5454
5555 var per_commitment_key : [ UInt8 ] ? = nil
5656 if let per_commitment_keyUnwrapped = per_commitment_keyPointer {
@@ -62,34 +62,34 @@ open class BaseSign {
6262 }
6363
6464 func sign_counterparty_htlc_transactionCallback( pointer: UnsafeRawPointer ? , htlc_tx: LDKTransaction , input: uintptr_t , amount: UInt64 , per_commitment_point: LDKPublicKey , htlcPointer: UnsafePointer < LDKHTLCOutputInCommitment > ) -> LDKCResult_SignatureNoneZ {
65- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
65+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_counterparty_htlc_transaction " )
6666 let htlc = HTLCOutputInCommitment ( pointer: htlcPointer. pointee) ;
6767
6868 return instance. sign_counterparty_htlc_transaction ( htlc_tx: Bindings . LDKTransaction_to_array ( nativeType: htlc_tx) , input: input, amount: amount, per_commitment_point: Bindings . tuple33_to_array ( nativeType: per_commitment_point. compressed_form) , htlc: htlc) . cOpaqueStruct!;
6969 }
7070
7171 func sign_closing_transactionCallback( pointer: UnsafeRawPointer ? , closing_tx: LDKTransaction ) -> LDKCResult_SignatureNoneZ {
72- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
72+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_closing_transaction " )
7373
7474 return instance. sign_closing_transaction ( closing_tx: Bindings . LDKTransaction_to_array ( nativeType: closing_tx) ) . cOpaqueStruct!;
7575 }
7676
7777 func sign_channel_announcementCallback( pointer: UnsafeRawPointer ? , msgPointer: UnsafePointer < LDKUnsignedChannelAnnouncement > ) -> LDKCResult_SignatureNoneZ {
78- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
78+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::sign_channel_announcement " )
7979 let msg = UnsignedChannelAnnouncement ( pointer: msgPointer. pointee) ;
8080
8181 return instance. sign_channel_announcement ( msg: msg) . cOpaqueStruct!;
8282 }
8383
8484 func ready_channelCallback( pointer: UnsafeMutableRawPointer ? , channel_parametersPointer: UnsafePointer < LDKChannelTransactionParameters > ) -> Void {
85- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
85+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::ready_channel " )
8686 let channel_parameters = ChannelTransactionParameters ( pointer: channel_parametersPointer. pointee) ;
8787
8888 return instance. ready_channel ( channel_parameters: channel_parameters) ;
8989 }
9090
9191 func freeCallback( pointer: UnsafeMutableRawPointer ? ) -> Void {
92- let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!)
92+ let instance : BaseSign = Bindings . pointerToInstance ( pointer: pointer!, sourceMarker : " BaseSign.swift::free " )
9393
9494 return instance. free ( ) ;
9595 }
0 commit comments