summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 39623e0c33..4d86e98318 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -773,7 +773,7 @@ Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
Apd |SV* |eval_pv |NN const char* p|I32 croak_on_error
Apd |I32 |eval_sv |NN SV* sv|I32 flags
Apd |SV* |get_sv |NN const char* name|I32 create
-Apd |AV* |get_av |NN const char* name|I32 create
+Apd |AV* |get_av |NN const char *name|I32 flags
Apd |HV* |get_hv |NN const char *name|I32 flags
Apd |CV* |get_cv |NN const char* name|I32 flags
Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags