summaryrefslogtreecommitdiff
path: root/embed.fnc
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.fnc
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.fnc')
-rw-r--r--embed.fnc3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 440ada45b8..ef8cc8eea1 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1938,7 +1938,8 @@ pd |PADOFFSET|pad_add_name |NN const char *name\
: Only used in op.c
pd |PADOFFSET|pad_add_anon |NN SV* sv|OPCODE op_type
: Only used in op.c
-pd |void |pad_check_dup |NN const char* name|bool is_our|NN const HV* ourstash
+Mpd |void |pad_check_dup |NN const char *name|const STRLEN len\
+ |const U32 flags|NN const HV *ourstash
#ifdef DEBUGGING
: Only used PAD_SETSV() in op.c
pd |void |pad_setsv |PADOFFSET po|NN SV* sv