mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
perlapi: Add markup for save_gp
This commit is contained in:
parent
042c826b66
commit
06ecdb436a
6
scope.c
6
scope.c
@ -379,10 +379,10 @@ Perl_save_set_svflags(pTHX_ SV* sv, U32 mask, U32 val)
|
||||
|
||||
Saves the current GP of gv on the save stack to be restored on scope exit.
|
||||
|
||||
If empty is true, replace the GP with a new GP.
|
||||
If C<empty> is true, replace the GP with a new GP.
|
||||
|
||||
If empty is false, mark gv with GVf_INTRO so the next reference
|
||||
assigned is localized, which is how C< local *foo = $someref; > works.
|
||||
If C<empty> is false, mark C<gv> with C<GVf_INTRO. so the next reference
|
||||
assigned is localized, which is how S<C< local *foo = $someref; >> works.
|
||||
|
||||
=cut
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user