##// END OF EJS Templates
rust-cpython: rename py_shared_iterator_impl to py_shared_iterator...
Yuya Nishihara -
r43159:ea91a126 default
parent child Browse files
Show More
@@ -98,7 +98,7 b' impl CopyMap {'
98 98 }
99 99 }
100 100
101 py_shared_iterator_impl!(
101 py_shared_iterator!(
102 102 CopyMapKeysIterator,
103 103 DirstateMapLeakedRef,
104 104 CopyMapIter<'static>,
@@ -106,7 +106,7 b' py_shared_iterator_impl!('
106 106 Option<PyBytes>
107 107 );
108 108
109 py_shared_iterator_impl!(
109 py_shared_iterator!(
110 110 CopyMapItemsIterator,
111 111 DirstateMapLeakedRef,
112 112 CopyMapIter<'static>,
@@ -121,7 +121,7 b' impl Dirs {'
121 121 }
122 122 }
123 123
124 py_shared_iterator_impl!(
124 py_shared_iterator!(
125 125 DirsMultisetKeysIterator,
126 126 DirsMultisetLeakedRef,
127 127 DirsMultisetIter<'static>,
@@ -484,7 +484,7 b' impl DirstateMap {'
484 484
485 485 py_shared_ref!(DirstateMap, RustDirstateMap, inner, DirstateMapLeakedRef,);
486 486
487 py_shared_iterator_impl!(
487 py_shared_iterator!(
488 488 DirstateMapKeysIterator,
489 489 DirstateMapLeakedRef,
490 490 StateMapIter<'static>,
@@ -492,7 +492,7 b' py_shared_iterator_impl!('
492 492 Option<PyBytes>
493 493 );
494 494
495 py_shared_iterator_impl!(
495 py_shared_iterator!(
496 496 DirstateMapItemsIterator,
497 497 DirstateMapLeakedRef,
498 498 StateMapIter<'static>,
@@ -193,7 +193,7 b" impl<'a, T> Drop for PyRefMut<'a, T> {"
193 193 /// that will be shared.
194 194 /// * `$leaked` is the identifier to give to the struct that will manage
195 195 /// references to `$name`, to be used for example in other macros like
196 /// `py_shared_iterator_impl`.
196 /// `py_shared_iterator`.
197 197 ///
198 198 /// # Example
199 199 ///
@@ -332,7 +332,7 b' macro_rules! py_shared_ref {'
332 332 ///
333 333 /// py_shared_ref!(MyType, MyStruct, inner, MyTypeLeakedRef);
334 334 ///
335 /// py_shared_iterator_impl!(
335 /// py_shared_iterator!(
336 336 /// MyTypeItemsIterator,
337 337 /// MyTypeLeakedRef,
338 338 /// HashMap<'static, Vec<u8>, Vec<u8>>,
@@ -340,7 +340,7 b' macro_rules! py_shared_ref {'
340 340 /// Option<(PyBytes, PyBytes)>
341 341 /// );
342 342 /// ```
343 macro_rules! py_shared_iterator_impl {
343 macro_rules! py_shared_iterator {
344 344 (
345 345 $name: ident,
346 346 $leaked: ident,
General Comments 0
You need to be logged in to leave comments. Login now