summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-20 18:27:55 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-20 21:04:19 -0800
commit27a1175bf36db67955ca3363f80694803bdcbfb2 (patch)
tree6275c8db1ef30759c06bc6238488393a34ccdeb6 /hv.c
parentdbbe2d83c45bfa50b7f118650730dbd85df84150 (diff)
downloadperl-27a1175bf36db67955ca3363f80694803bdcbfb2.tar.gz
Add flags param to hv_ename_*
We will need this for making the API UTF8-aware in 5.16 or whenever.
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hv.c b/hv.c
index fb9dfec1be..ee95b25add 100644
--- a/hv.c
+++ b/hv.c
@@ -2173,13 +2173,14 @@ table.
*/
void
-Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len)
+Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
{
dVAR;
struct xpvhv_aux *aux = SvOOK(hv) ? HvAUX(hv) : hv_auxinit(hv);
U32 hash;
PERL_ARGS_ASSERT_HV_ENAME_ADD;
+ PERL_UNUSED_ARG(flags);
if (len > I32_MAX)
Perl_croak(aTHX_ "panic: hv name too long (%"UVuf")", (UV) len);
@@ -2229,12 +2230,13 @@ This is called when a stash is deleted from the symbol table.
*/
void
-Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len)
+Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
{
dVAR;
struct xpvhv_aux *aux;
PERL_ARGS_ASSERT_HV_ENAME_DELETE;
+ PERL_UNUSED_ARG(flags);
if (len > I32_MAX)
Perl_croak(aTHX_ "panic: hv name too long (%"UVuf")", (UV) len);