diff options
author | Karl Williamson <khw@cpan.org> | 2014-06-05 14:22:50 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-06-05 15:22:30 -0600 |
commit | 7fefc6c1fed0a352d7bf8df209df5274d6cd8fb0 (patch) | |
tree | 11ad6b9cf1fa968e8c18f69d040490bd55c8b747 /sv.c | |
parent | 9d9a81f09abfecc51243ec21a51eea7fb0e6b9bc (diff) | |
download | perl-7fefc6c1fed0a352d7bf8df209df5274d6cd8fb0.tar.gz |
perlapi: Include general information
Unlike other pod handling routines, autodoc requires the line following
an =head1 to be non-empty for its text to be included in the paragraph
started by the heading. If you fail to do this, silently the text will
be omitted from perlapi. I went through the source code, and where it
was apparent that the text was supposed to be in perlapi, deleted the
empty line so it would be, with some revisions to make more sense.
I added =cuts where I thought it best for the text to not be included.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -139,7 +139,6 @@ /* ============================================================================ =head1 Allocation and deallocation of SVs. - An SV (or AV, HV, etc.) is allocated in two parts: the head (struct sv, av, hv...) contains type and reference count information, and for many types, a pointer to the body (struct xrv, xpv, xpviv...), which @@ -164,12 +163,12 @@ slot in the arena. SV-bodies are further described later. The following global variables are associated with arenas: - PL_sv_arenaroot pointer to list of SV arenas - PL_sv_root pointer to list of free SV structures + PL_sv_arenaroot pointer to list of SV arenas + PL_sv_root pointer to list of free SV structures - PL_body_arenas head of linked-list of body arenas - PL_body_roots[] array of pointers to list of free bodies of svtype - arrays are indexed by the svtype needed + PL_body_arenas head of linked-list of body arenas + PL_body_roots[] array of pointers to list of free bodies of svtype + arrays are indexed by the svtype needed A few special SV heads are not allocated from an arena, but are instead directly created in the interpreter structure, eg PL_sv_undef. @@ -742,6 +741,7 @@ Deallocate the memory used by all arenas. Note that all the individual SV heads and bodies within the arenas must already have been freed. =cut + */ void Perl_sv_free_arenas(pTHX) @@ -11789,6 +11789,8 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN p =head1 Cloning an interpreter +=cut + All the macros and functions in this section are for the private use of the main function, perl_clone(). @@ -11797,8 +11799,6 @@ During the course of a cloning, a hash table is used to map old addresses to new addresses. The table is created and manipulated with the ptr_table_* functions. -=cut - * =========================================================================*/ |