In perl.git, the branch yves/backrefs has been created
<http://perl5.git.perl.org/perl.git/commitdiff/6fead8a209668f6aad8fe6b16025799a92d94978?hp=0000000000000000000000000000000000000000>
at 6fead8a209668f6aad8fe6b16025799a92d94978 (commit)
- Log -----------------------------------------------------------------
commit 6fead8a209668f6aad8fe6b16025799a92d94978
Author: Yves Orton <[email protected]>
Date: Mon Dec 22 15:45:43 2014 +0100
add new API routine sv_get_backrefs()
sv_get_backrefs() encapsulates the logic required to determine if
a scalar is a referent of a weakref, and return the weakref(s) that
reference it.
This replaces code that uses hv_backreferences_p() and also code that
use mg_find() and PERL_MAGIC_backref. Isolating XS authors from
the complexity involved. See perl #123473 for details related to this
patch.
-----------------------------------------------------------------------
--
Perl5 Master Repository