@@ -401,10 +401,9 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
401
401
"bitcoin::secp256k1::Error" if !is_ref => Some ( "crate::c_types::Secp256k1Error" ) ,
402
402
"bitcoin::blockdata::script::Script" if is_ref => Some ( "crate::c_types::u8slice" ) ,
403
403
"bitcoin::blockdata::script::Script" if !is_ref => Some ( "crate::c_types::derived::CVec_u8Z" ) ,
404
- "bitcoin::blockdata::transaction::OutPoint" if is_ref => Some ( "crate::chain::transaction::OutPoint" ) ,
404
+ "bitcoin::blockdata::transaction::OutPoint" => Some ( "crate::chain::transaction::OutPoint" ) ,
405
405
"bitcoin::blockdata::transaction::Transaction" => Some ( "crate::c_types::Transaction" ) ,
406
406
"bitcoin::blockdata::transaction::TxOut" if !is_ref => Some ( "crate::c_types::TxOut" ) ,
407
- "bitcoin::OutPoint" => Some ( "crate::chain::transaction::OutPoint" ) ,
408
407
"bitcoin::network::constants::Network" => Some ( "crate::bitcoin::network::Network" ) ,
409
408
"bitcoin::blockdata::block::BlockHeader" if is_ref => Some ( "*const [u8; 80]" ) ,
410
409
"bitcoin::blockdata::block::Block" if is_ref => Some ( "crate::c_types::u8slice" ) ,
@@ -615,6 +614,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
615
614
"bitcoin::blockdata::script::Script" if is_ref => Some ( "crate::c_types::u8slice::from_slice(&" ) ,
616
615
"bitcoin::blockdata::script::Script" if !is_ref => Some ( "" ) ,
617
616
"bitcoin::blockdata::transaction::Transaction" => Some ( "crate::c_types::Transaction::from_vec(local_" ) ,
617
+ "bitcoin::blockdata::transaction::OutPoint" => Some ( "crate::c_types::bitcoin_to_C_outpoint(" ) ,
618
618
"bitcoin::blockdata::transaction::TxOut" if !is_ref => Some ( "crate::c_types::TxOut::from_rust(" ) ,
619
619
"bitcoin::blockdata::block::BlockHeader" if is_ref => Some ( "&local_" ) ,
620
620
"bitcoin::blockdata::block::Block" if is_ref => Some ( "crate::c_types::u8slice::from_slice(&local_" ) ,
@@ -679,6 +679,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
679
679
"bitcoin::blockdata::script::Script" if is_ref => Some ( "[..])" ) ,
680
680
"bitcoin::blockdata::script::Script" if !is_ref => Some ( ".into_bytes().into()" ) ,
681
681
"bitcoin::blockdata::transaction::Transaction" => Some ( ")" ) ,
682
+ "bitcoin::blockdata::transaction::OutPoint" => Some ( ")" ) ,
682
683
"bitcoin::blockdata::transaction::TxOut" if !is_ref => Some ( ")" ) ,
683
684
"bitcoin::blockdata::block::BlockHeader" if is_ref => Some ( "" ) ,
684
685
"bitcoin::blockdata::block::Block" if is_ref => Some ( ")" ) ,
0 commit comments