ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Array-Heap/Heap.xs
(Generate patch)

Comparing Array-Heap/Heap.xs (file contents):
Revision 1.1 by root, Wed Jul 1 08:31:34 2009 UTC vs.
Revision 1.2 by root, Fri Jul 24 21:29:07 2009 UTC

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
210SV * 210SV *
211pop_heap (heap) 211pop_heap (heap)
212 SV * heap 212 SV * heap

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines