summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-21 13:36:08 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-21 17:09:11 +0000
commitcbfd0a879b2bf2ade4a309e6d56c08ba19f320e1 (patch)
tree7771d5ecf7d2b77cf43976ba2a814084ccbca4f5 /proto.h
parent6673a63c63e2a65dbfcc835d6499cc97c449c67b (diff)
downloadperl-cbfd0a879b2bf2ade4a309e6d56c08ba19f320e1.tar.gz
Update the documentation of get_av() to note that it calls Perl_gv_fetchpv(),
and hence the 'create' argument is actually 'flags'. Fix code and documentation that used TRUE or FALSE to use 0 or GV_ADD.
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 e523d1794e..e50ae92785 100644
--- a/proto.h
+++ b/proto.h
@@ -2429,7 +2429,7 @@ PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create)
#define PERL_ARGS_ASSERT_GET_SV \
assert(name)
-PERL_CALLCONV AV* Perl_get_av(pTHX_ const char* name, I32 create)
+PERL_CALLCONV AV* Perl_get_av(pTHX_ const char *name, I32 flags)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_GET_AV \
assert(name)