summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-08 10:18:02 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-09 18:41:52 +0000
commitd6447115bb9638af823243dbe17f2c14e71cf57d (patch)
tree113eaa4bf540550b9f1cb3ecaf830fc019e3d4b3 /proto.h
parent829e8f2be6ba11895519e0a29d4ed05fe6700685 (diff)
downloadperl-d6447115bb9638af823243dbe17f2c14e71cf57d.tar.gz
Add length and flags arguments to Perl_allocmy().
Currently no flags bits are used, and 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 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 2a3b118dee..20f855177c 100644
--- a/proto.h
+++ b/proto.h
@@ -2357,7 +2357,7 @@ PERL_CALLCONV void Perl_package_version(pTHX_ OP* v)
assert(v)
PERL_CALLCONV PADOFFSET Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype);
-PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name)
+PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_ALLOCMY \
assert(name)