diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-11-11 10:25:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-11-11 10:25:02 +0000 |
commit | 31c72c81d58f35758d79ae5790bfaf21252bb22e (patch) | |
tree | 9ef85ea0360dfeb9135d0bedefed60afeedd0c10 /sv.c | |
parent | df5f182b2f0708f51f91b8d390f65db1df18e143 (diff) | |
download | perl-31c72c81d58f35758d79ae5790bfaf21252bb22e.tar.gz |
Convert the flags argument for Perl_sv_{eq,cmp,cmp_locale}_flags() to U32.
These functions have not yet been in a stable release.
Going forwards, I think that we should consider converting all bitmap flags
arguments to *un*signed types. Most uses of I32 in the core are inappropriate.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -6989,7 +6989,7 @@ if necessary. If the flags include SV_GMAGIC, it handles get-magic, too. */ I32 -Perl_sv_eq_flags(pTHX_ register SV *sv1, register SV *sv2, const I32 flags) +Perl_sv_eq_flags(pTHX_ register SV *sv1, register SV *sv2, const U32 flags) { dVAR; const char *pv1; @@ -7106,7 +7106,8 @@ Perl_sv_cmp(pTHX_ register SV *const sv1, register SV *const sv2) } I32 -Perl_sv_cmp_flags(pTHX_ register SV *const sv1, register SV *const sv2, const I32 flags) +Perl_sv_cmp_flags(pTHX_ register SV *const sv1, register SV *const sv2, + const U32 flags) { dVAR; STRLEN cur1, cur2; @@ -7200,7 +7201,8 @@ Perl_sv_cmp_locale(pTHX_ register SV *const sv1, register SV *const sv2) } I32 -Perl_sv_cmp_locale_flags(pTHX_ register SV *const sv1, register SV *const sv2, const I32 flags) +Perl_sv_cmp_locale_flags(pTHX_ register SV *const sv1, register SV *const sv2, + const U32 flags) { dVAR; #ifdef USE_LOCALE_COLLATE |