diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-12 14:57:33 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-19 04:55:19 -0600 |
commit | 30062c3aa8b1235620a0d871dc8036c34f0ff0eb (patch) | |
tree | 7c0dfc2523ea2c1154ac3adec48297a38aedc81c /gv.c | |
parent | 7aa7cc795ce2343186811f374b9bfa051092ffc4 (diff) | |
download | perl-30062c3aa8b1235620a0d871dc8036c34f0ff0eb.tar.gz |
perlapi: Document Gv_AMupdate
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -3070,12 +3070,26 @@ Perl_magic_freeovrld(pTHX_ SV *sv, MAGIC *mg) return 0; } -/* Updates and caches the CV's */ -/* Returns: - * 1 on success and there is some overload - * 0 if there is no overload - * -1 if some error occurred and it couldn't croak - */ +/* +=for apidoc Gv_AMupdate + +Recalculates overload magic in the package given by C<stash>. + +Returns: + +=over + +=item 1 on success and there is some overload + +=item 0 if there is no overload + +=item -1 if some error occurred and it couldn't croak (because C<destructing> +is true). + +=back + +=cut +*/ int Perl_Gv_AMupdate(pTHX_ HV *stash, bool destructing) |