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

Comparing JSON-XS/XS.xs (file contents):
Revision 1.61 by root, Sun Aug 26 21:56:47 2007 UTC vs.
Revision 1.62 by root, Sun Aug 26 22:27:32 2007 UTC

462 while (count--) 462 while (count--)
463 { 463 {
464 encode_indent (enc); 464 encode_indent (enc);
465 he = hes [count]; 465 he = hes [count];
466 encode_hk (enc, he); 466 encode_hk (enc, he);
467 encode_sv (enc, SvMAGICAL (hv) ? hv_iterval (hv, he) : HeVAL (he)); 467 encode_sv (enc, expect_false (SvMAGICAL (hv)) ? hv_iterval (hv, he) : HeVAL (he));
468 468
469 if (count) 469 if (count)
470 encode_comma (enc); 470 encode_comma (enc);
471 } 471 }
472 } 472 }
477 if ((he = hv_iternext (hv))) 477 if ((he = hv_iternext (hv)))
478 for (;;) 478 for (;;)
479 { 479 {
480 encode_indent (enc); 480 encode_indent (enc);
481 encode_hk (enc, he); 481 encode_hk (enc, he);
482 encode_sv (enc, SvMAGICAL (hv) ? hv_iterval (hv, he) : HeVAL (he)); 482 encode_sv (enc, expect_false (SvMAGICAL (hv)) ? hv_iterval (hv, he) : HeVAL (he));
483 483
484 if (!(he = hv_iternext (hv))) 484 if (!(he = hv_iternext (hv)))
485 break; 485 break;
486 486
487 encode_comma (enc); 487 encode_comma (enc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines