File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ fn add_shared_proto_slots(
266266 let first_implemented = implemented_proto_fragments. remove( $first) ;
267267 let second_implemented = implemented_proto_fragments. remove( $second) ;
268268 if first_implemented || second_implemented {
269- proto_impls. push( quote! { _pyo3:: $slot!( #ty) } )
269+ proto_impls. push( quote! { _pyo3:: class :: impl_ :: $slot!( #ty) } )
270270 }
271271 } } ;
272272 }
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ macro_rules! define_pyclass_setattr_slot {
183183 }
184184 } } ;
185185 }
186+ pub use $generate_macro;
186187 } ;
187188}
188189
@@ -292,6 +293,7 @@ macro_rules! define_pyclass_binary_operator_slot {
292293 }
293294 } } ;
294295 }
296+ pub use $generate_macro;
295297 } ;
296298}
297299
@@ -484,6 +486,7 @@ macro_rules! generate_pyclass_pow_slot {
484486 }
485487 } } ;
486488}
489+ pub use generate_pyclass_pow_slot;
487490
488491pub trait PyClassAllocImpl < T > {
489492 fn alloc_impl ( self ) -> Option < ffi:: allocfunc > ;
You can’t perform that action at this time.
0 commit comments