- bindings diff
[rust-lightning] / lightning-c-bindings / src / chain / transaction.rs
index 698e9013122ba338fc52f95d03d31ea0025687fd..ff7aff7e9f5ec186a34ac8036e8d968d1c622b8a 100644 (file)
@@ -38,7 +38,7 @@ extern "C" fn OutPoint_free_void(this_ptr: *mut c_void) {
 #[allow(unused)]
 /// When moving out of the pointer, we have to ensure we aren't a reference, this makes that easy
 impl OutPoint {
-       pub(crate) fn take_ptr(mut self) -> *mut nativeOutPoint {
+       pub(crate) fn take_inner(mut self) -> *mut nativeOutPoint {
                assert!(self.is_owned);
                let ret = self.inner;
                self.inner = std::ptr::null_mut();