summaryrefslogtreecommitdiff
path: root/pod/perlintern.pod
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2001-06-18 01:47:52 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-18 13:44:18 +0000
commit645c22eff49f10f8bfaa5864a990561e60fea631 (patch)
treeb19fb904615c052f77b246a7806d6cf9e3150b71 /pod/perlintern.pod
parent4a280ebedb23042ec7ac637d8bfb46817322de6c (diff)
downloadperl-645c22eff49f10f8bfaa5864a990561e60fea631.tar.gz
sv.c documentation
Message-Id: <200106172347.AAA05475@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10688
Diffstat (limited to 'pod/perlintern.pod')
-rw-r--r--pod/perlintern.pod49
1 files changed, 49 insertions, 0 deletions
diff --git a/pod/perlintern.pod b/pod/perlintern.pod
index 8bfe5a3cd3..a0cf47c049 100644
--- a/pod/perlintern.pod
+++ b/pod/perlintern.pod
@@ -118,6 +118,15 @@ The input record separator - C<$/> in Perl space.
=for hackers
Found in file thrdvar.h
+=item report_uninit
+
+Print appropriate "Use of uninitialized variable" warning
+
+ void report_uninit()
+
+=for hackers
+Found in file sv.c
+
=item start_glob
Function called by C<do_readline> to spawn a glob (or do the glob inside
@@ -130,6 +139,46 @@ Moving it away shrinks pp_hot.c; shrinking pp_hot.c helps speed perl up.
=for hackers
Found in file doio.c
+=item sv_add_arena
+
+Given a chunk of memory, link it to the head of the list of arenas,
+and split it into a list of free SVs.
+
+ void sv_add_arena(char* ptr, U32 size, U32 flags)
+
+=for hackers
+Found in file sv.c
+
+=item sv_clean_all
+
+Decrement the refcnt of each remaining SV, possibly triggering a
+cleanup. This function may have to be called multiple times to free
+SVs which are in complex self-referential heirarchies.
+
+ I32 sv_clean_all()
+
+=for hackers
+Found in file sv.c
+
+=item sv_clean_objs
+
+Attempt to destroy all objects not yet freed
+
+ void sv_clean_objs()
+
+=for hackers
+Found in file sv.c
+
+=item sv_free_arenas
+
+Deallocate the memory used by all arenas. Note that all the individual SV
+heads and bodies within the arenas must already have been freed.
+
+ void sv_free_arenas()
+
+=for hackers
+Found in file sv.c
+
=back
=head1 AUTHORS