… | … | ||
---|---|---|---|
202 | SV * cmp | 202 | SV * cmp |
203 | SV * heap | 203 | SV * heap |
204 | PROTOTYPE: &\@@ | 204 | PROTOTYPE: &\@@ |
205 | CODE: | 205 | CODE: |
206 | int i; | 206 | int i; |
207 | for (i = 1; i < items; i++) | 207 | for (i = 2; i < items; i++) |
208 | push_heap (array (heap), cmp_custom, cmp, ST(i)); | 208 | push_heap (array (heap), cmp_custom, cmp, ST(i)); |
209 | 209 | ||
210 | SV * | 210 | SV * |
211 | pop_heap (heap) | 211 | pop_heap (heap) |
212 | SV * heap | 212 | SV * heap |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |