diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-18 14:56:16 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-31 05:30:17 -0600 |
commit | 4601e4251201e9884a27fc3926ee8de93884df0e (patch) | |
tree | e5deda29d385fb1a2350bf67ef7fa77592812b49 /scope.c | |
parent | 704ee149f702a507eec39e99c71a91932da3922b (diff) | |
download | perl-4601e4251201e9884a27fc3926ee8de93884df0e.tar.gz |
perlapi: Document save_pushptr
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -693,6 +693,20 @@ Perl_save_aptr(pTHX_ AV **aptr) save_pushptrptr(*aptr, aptr, SAVEt_APTR); } +/* +=for apidoc_section $callback +=for apidoc save_pushptr + +The refcnt of object C<ptr> will be decremented at the end of the current +I<pseudo-block>. C<type> gives the type of C<ptr>, expressed as one of the +constants in F<scope.h> whose name begins with C<SAVEt_>. + +This is the underlying implementation of several macros, like +C<SAVEFREESV>. + +=cut +*/ + void Perl_save_pushptr(pTHX_ void *const ptr, const int type) { |