Skip to content

Commit

Permalink
Add (probably) forgotten type parameters to the `pyobject_native_type…
Browse files Browse the repository at this point in the history
…_convert` macro.

This is needed for `rust-numpy` to compile.
  • Loading branch information
Pavel Potoček committed Dec 5, 2018
1 parent 32d6d4e commit cbe668a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ macro_rules! pyobject_native_type_convert(
}
}

impl $crate::typeob::PyObjectAlloc for $name {}
impl<$($type_param,)*> $crate::typeob::PyObjectAlloc for $name {}

impl<$($type_param,)*> $crate::typeob::PyTypeCreate for $name {
#[inline]
Expand Down

0 comments on commit cbe668a

Please sign in to comment.