summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-10-29 22:17:44 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-10-29 22:49:14 -0700
commit992066774e37b5af046363f52fb0d676769038e6 (patch)
tree4aeec1fd33fe34e2edf87e1107bfdfba93f7bc42 /hv.c
parent2ffab0983a1bec84ae1240ada5aa5e685645180b (diff)
downloadperl-992066774e37b5af046363f52fb0d676769038e6.tar.gz
Add docs for hv_ename_*
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/hv.c b/hv.c
index 57efdaa455..da8d76421d 100644
--- a/hv.c
+++ b/hv.c
@@ -2106,6 +2106,18 @@ Perl_hv_name_set(pTHX_ HV *hv, const char *name, U32 len, U32 flags)
iter->xhv_name_count = 0;
}
+/*
+=for apidoc hv_ename_add
+
+Adds a name to a stash's internal list of effective names. See
+C<hv_ename_delete>.
+
+This is called when a stash is assigned to a new location in the symbol
+table.
+
+=cut
+*/
+
void
Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len)
{
@@ -2150,6 +2162,18 @@ Perl_hv_ename_add(pTHX_ HV *hv, const char *name, U32 len)
}
}
+/*
+=for apidoc hv_ename_delete
+
+Removes a name from a stash's internal list of effective names. If this is
+the name returned by C<HvENAME>, then another name in the list will take
+its place (C<HvENAME> will use it).
+
+This is called when a stash is deleted from the symbol table.
+
+=cut
+*/
+
void
Perl_hv_ename_delete(pTHX_ HV *hv, const char *name, U32 len)
{