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

Comparing CBOR-XS/XS.xs (file contents):
Revision 1.6 by root, Sat Oct 26 22:25:47 2013 UTC vs.
Revision 1.7 by root, Sat Oct 26 23:02:55 2013 UTC

618 return sv; 618 return sv;
619 619
620 AV *av = newAV (); 620 AV *av = newAV ();
621 av_push (av, newSVuv (tag)); 621 av_push (av, newSVuv (tag));
622 av_push (av, sv); 622 av_push (av, sv);
623 return newRV_noinc ((SV *)av); 623
624 HV *tagged_stash = !CBOR_SLOW || cbor_tagged_stash
625 ? cbor_tagged_stash
626 : gv_stashpv ("CBOR::XS::Tagged" , 1);
627
628 return sv_bless (newRV_noinc ((SV *)av), tagged_stash);
624} 629}
625 630
626static SV * 631static SV *
627decode_sv (dec_t *dec) 632decode_sv (dec_t *dec)
628{ 633{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines