diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-10-29 08:59:33 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-29 21:50:24 -0700 |
commit | bc56db2a697ebe59892fabdcfa5aa910ed4f2885 (patch) | |
tree | 46baa9108d034489f57815f9bc213b728fdd938c /pod | |
parent | 0c3bb3c2ad1fe4246d916a548cabaaa2590e7414 (diff) | |
download | perl-bc56db2a697ebe59892fabdcfa5aa910ed4f2885.tar.gz |
Add HvENAME
Add HvENAME as an alias for HvENAME_get and make it public.
This is now the preferred name for use in isa caches.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlmroapi.pod | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pod/perlmroapi.pod b/pod/perlmroapi.pod index 2200becded..f010b75449 100644 --- a/pod/perlmroapi.pod +++ b/pod/perlmroapi.pod @@ -54,11 +54,13 @@ function - the parameter is provided to allow your implementation to track depth if it needs to recurse. The function should return a reference to an array containing the parent -classes in order. The caller is responsible for incrementing the reference -count if it wants to keep the structure. Hence if you have created a -temporary value that you keep no pointer to, C<sv_2mortal()> to ensure that -it is disposed of correctly. If you have cached your return value, then -return a pointer to it without changing the reference count. +classes in order. The names of the classes should be the result of calling +C<HvENAME()> on the stash. The caller is responsible for incrementing the +reference count of the array returned if it wants to keep the structure. +Hence, if you have created a temporary value that you keep no pointer to, +C<sv_2mortal()> to ensure that it is disposed of correctly. If you have +cached your return value, then return a pointer to it without changing the +reference count. =head1 Caching |