summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-08 22:23:07 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-09 18:41:53 +0000
commit35f82371218a026d1f07258ae020fffabf397fdc (patch)
treef508a89c7406bcd0da4089201d276d19b81dcdf9 /embed.h
parentd6447115bb9638af823243dbe17f2c14e71cf57d (diff)
downloadperl-35f82371218a026d1f07258ae020fffabf397fdc.tar.gz
Add length and flags arguments to Perl_pad_check_dup().
Currently only pad_add_OUR is used. The length is cross-checked against strlen() on the pointer, but the intent is to re-work the entire pad API to be UTF-8 aware, from the current situation of char * pointers only.
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 99380961b1..95c93f4fd2 100644
--- a/embed.h
+++ b/embed.h
@@ -4089,7 +4089,7 @@
#define pad_undef(a) Perl_pad_undef(aTHX_ a)
#define pad_add_name(a,b,c,d,e) Perl_pad_add_name(aTHX_ a,b,c,d,e)
#define pad_add_anon(a,b) Perl_pad_add_anon(aTHX_ a,b)
-#define pad_check_dup(a,b,c) Perl_pad_check_dup(aTHX_ a,b,c)
+#define pad_check_dup(a,b,c,d) Perl_pad_check_dup(aTHX_ a,b,c,d)
#endif
#ifdef DEBUGGING
#ifdef PERL_CORE