diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-21 15:03:03 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-21 17:09:11 +0000 |
commit | 64ace3f88f559d007c0150d9b048b1db32380208 (patch) | |
tree | 042e7da9dbe9f7d2a0291fe3763130f50198e559 /proto.h | |
parent | cbfd0a879b2bf2ade4a309e6d56c08ba19f320e1 (diff) | |
download | perl-64ace3f88f559d007c0150d9b048b1db32380208.tar.gz |
Update the documentation of get_sv() to note that it calls Perl_gv_fetchpv(),
and hence the 'create' argument is actually 'flags'. Fix core code and
documentation that used TRUE or FALSE to use 0 or GV_ADD.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2424,7 +2424,7 @@ PERL_CALLCONV I32 Perl_eval_sv(pTHX_ SV* sv, I32 flags) #define PERL_ARGS_ASSERT_EVAL_SV \ assert(sv) -PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char* name, I32 create) +PERL_CALLCONV SV* Perl_get_sv(pTHX_ const char *name, I32 flags) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_GET_SV \ assert(name) |