We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AsPyPointer
1 parent 2e21095 commit 9b3015fCopy full SHA for 9b3015f
src/types/mod.rs
@@ -201,14 +201,6 @@ macro_rules! pyobject_native_type_named (
201
}
202
203
204
- unsafe impl<$($generics,)*> $crate::AsPyPointer for $name {
205
- /// Gets the underlying FFI pointer, returns a borrowed pointer.
206
- #[inline]
207
- fn as_ptr(&self) -> *mut $crate::ffi::PyObject {
208
- self.0.as_ptr()
209
- }
210
211
-
212
impl $crate::types::DerefToPyAny for $name {}
213
};
214
);
0 commit comments