diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-26 22:38:16 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-26 22:38:16 +0000 |
commit | 36f65ada8976e23c1222137b59696bff2b63e8f6 (patch) | |
tree | 848eddbd7078cf1cf23ed1e47d02641ff2586de9 /sv.c | |
parent | 89cd1aa38d5935328b2eb138bbf300778b3c3804 (diff) | |
download | perl-36f65ada8976e23c1222137b59696bff2b63e8f6.tar.gz |
return clauses are nice.
p4raw-id: //depot/perl@10225
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2643,7 +2643,7 @@ uiv_2buf(char *buf, IV iv, UV uv, int is_uv, char **peob) char * Perl_sv_2pv(pTHX_ register SV *sv, STRLEN *lp) { - sv_2pv_flags(sv, lp, SV_GMAGIC); + return sv_2pv_flags(sv, lp, SV_GMAGIC); } char * @@ -2972,7 +2972,7 @@ if all the bytes have hibit clear. STRLEN Perl_sv_utf8_upgrade(pTHX_ register SV *sv) { - sv_utf8_upgrade_flags(sv, SV_GMAGIC); + return sv_utf8_upgrade_flags(sv, SV_GMAGIC); } /* @@ -6253,7 +6253,7 @@ Get a sensible string out of the SV somehow. char * Perl_sv_pvn_force(pTHX_ SV *sv, STRLEN *lp) { - sv_pvn_force_flags(sv, lp, SV_GMAGIC); + return sv_pvn_force_flags(sv, lp, SV_GMAGIC); } /* |