perlapi: Document save_alloc; mark as internal

This implements SSNEW and kin, which should be used instead of this.
This commit is contained in:
Karl Williamson 2022-05-11 16:18:50 -06:00
parent bf5461665b
commit 1f3d7af79a
2 changed files with 10 additions and 1 deletions

View File

@ -1687,7 +1687,7 @@ Ap |void |savestack_grow_cnt |I32 need
Am |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
|const U32 flags
Ap |I32 |save_alloc |I32 size|I32 pad
Cpd |I32 |save_alloc |I32 size|I32 pad
Apdh |void |save_aptr |NN AV** aptr
Apdh |AV* |save_ary |NN GV* gv
Cp |void |save_bool |NN bool* boolp

View File

@ -904,6 +904,15 @@ Perl_savetmps(pTHX)
SS_ADD_END(2);
}
/*
=for apidoc_section $stack
=for apidoc save_alloc
Implements L<perlapi/C<SSNEW>> and kin, which should be used instead of this
function.
=cut
*/
I32
Perl_save_alloc(pTHX_ I32 size, I32 pad)