diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-10-29 22:17:44 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-29 22:49:14 -0700 |
commit | 992066774e37b5af046363f52fb0d676769038e6 (patch) | |
tree | 4aeec1fd33fe34e2edf87e1107bfdfba93f7bc42 | |
parent | 2ffab0983a1bec84ae1240ada5aa5e685645180b (diff) | |
download | perl-992066774e37b5af046363f52fb0d676769038e6.tar.gz |
Add docs for hv_ename_*
-rw-r--r-- | hv.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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) { |