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.115 by root, Fri Dec 21 05:16:19 2012 UTC vs.
Revision 1.116 by root, Thu May 23 09:31:32 2013 UTC

1528{ 1528{
1529 dec_t dec; 1529 dec_t dec;
1530 SV *sv; 1530 SV *sv;
1531 1531
1532 /* work around bugs in 5.10 where manipulating magic values 1532 /* work around bugs in 5.10 where manipulating magic values
1533 * will perl ignore the magic in subsequent accesses. 1533 * makes perl ignore the magic in subsequent accesses.
1534 * also make a copy of non-PV values, to get them into a clean 1534 * also make a copy of non-PV values, to get them into a clean
1535 * state (SvPV should do that, but it's buggy, see below). 1535 * state (SvPV should do that, but it's buggy, see below).
1536 */ 1536 */
1537 /*SvGETMAGIC (string);*/ 1537 /*SvGETMAGIC (string);*/
1538 if (SvMAGICAL (string) || !SvPOK (string)) 1538 if (SvMAGICAL (string) || !SvPOK (string))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines