summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-02-21 19:45:38 +0100
committerNicholas Clark <nick@ccl4.org>2013-02-26 16:00:19 +0100
commitadf6906bf1b434ce6de8a74bee3758cc5bd83b7a (patch)
tree9150d021ef6cc30ff3251184cf20485ac0d3a04e /embed.h
parent0df056163a5c186d5ef583804a92195aeb095201 (diff)
downloadperl-adf6906bf1b434ce6de8a74bee3758cc5bd83b7a.tar.gz
Pass the current and desired hash sizes to S_hsplit().
Whilst this is slightly more work for its existing two callers, it will permit Perl_hv_ksplit() to also call it. Use STRLEN for the parameters, and change a local variable from I32 to STRLEN to match.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index c66eba9cfc..9654979ad3 100644
--- a/embed.h
+++ b/embed.h
@@ -1375,7 +1375,7 @@
# if defined(PERL_IN_HV_C)
#define clear_placeholders(a,b) S_clear_placeholders(aTHX_ a,b)
#define hfreeentries(a) S_hfreeentries(aTHX_ a)
-#define hsplit(a) S_hsplit(aTHX_ a)
+#define hsplit(a,b,c) S_hsplit(aTHX_ a,b,c)
#define hv_auxinit S_hv_auxinit
#define hv_delete_common(a,b,c,d,e,f,g) S_hv_delete_common(aTHX_ a,b,c,d,e,f,g)
#define hv_free_ent_ret(a,b) S_hv_free_ent_ret(aTHX_ a,b)