lobj = tmp;
}
else
- croak("lobj is not of type version");
+ Perl_croak(aTHX_ "lobj is not of type version");
{
SV *vs = NEWSV(92,5);
lobj = tmp;
}
else
- croak("lobj is not of type version");
+ Perl_croak(aTHX_ "lobj is not of type version");
{
SV *vs = NEWSV(92,5);
lobj = tmp;
}
else
- croak("lobj is not of type version");
+ Perl_croak(aTHX_ "lobj is not of type version");
{
SV *rs;
lobj = tmp;
}
else
- croak("lobj is not of type version");
+ Perl_croak(aTHX_ "lobj is not of type version");
{
SV *rs;
lobj = tmp;
}
else
- croak("lobj is not of type version");
+ Perl_croak(aTHX_ "lobj is not of type version");
{
- croak("operation not supported with version object");
+ Perl_croak(aTHX_ "operation not supported with version object");
}
}
*/
SV *
-Perl_vnumify(SV *sv, SV *vs)
+Perl_vnumify(pTHX_ SV *sv, SV *vs)
{
U8* pv = (U8*)SvPVX(vs);
STRLEN len = SvCUR(vs);
STRLEN retlen;
UV digit = utf8_to_uvchr(pv,&retlen);
- sv_setpvf(sv,"%"UVf".",digit);
+ Perl_sv_setpvf(aTHX_ sv,"%"UVf".",digit);
for (pv += retlen, len -= retlen;
len > 0;
pv += retlen, len -= retlen)
{
digit = utf8_to_uvchr(pv,&retlen);
- sv_catpvf(sv,"%03"UVf,digit);
+ Perl_sv_catpvf(aTHX_ sv,"%03"UVf,digit);
}
return sv;
}
*/
SV *
-Perl_vstringify(SV *sv, SV *vs)
+Perl_vstringify(pTHX_ SV *sv, SV *vs)
{
U8* pv = (U8*)SvPVX(vs);
STRLEN len = SvCUR(vs);
STRLEN retlen;
UV digit = utf8_to_uvchr(pv,&retlen);
- sv_setpvf(sv,"%"UVf,digit);
+ Perl_sv_setpvf(aTHX_ sv,"%"UVf,digit);
for (pv += retlen, len -= retlen;
len > 0;
pv += retlen, len -= retlen)
{
digit = utf8_to_uvchr(pv,&retlen);
- sv_catpvf(sv,".%03"UVf,digit);
+ Perl_sv_catpvf(aTHX_ sv,".%03"UVf,digit);
}
if ( SvIVX(vs) < 0 )
sv_catpv(sv,"beta");