diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-11-07 13:37:12 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-11-07 15:37:33 +0000 |
commit | f8f98e0a8bdbde83a9cdc3573d818f69d0a64c78 (patch) | |
tree | a11a9634e18216edad55a2be0986db162c4a59a8 /proto.h | |
parent | eda4663d0f345e78f0a82529a08f3aa28c98ff2c (diff) | |
download | perl-f8f98e0a8bdbde83a9cdc3573d818f69d0a64c78.tar.gz |
Add length and flags arguments to Perl_pad_findmy(), moving it to the public API.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2357,7 +2357,7 @@ PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name) #define PERL_ARGS_ASSERT_ALLOCMY \ assert(name) -PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name) +PERL_CALLCONV PADOFFSET Perl_pad_findmy(pTHX_ const char* name, STRLEN len, U32 flags) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_PAD_FINDMY \ |