develooper Front page | perl.perl5.changes | Postings from November 2010

[perl.git] branch blead, updated. v5.13.7-214-g833f1b9

From:
Florian Ragwitz
Date:
November 30, 2010 08:50
Subject:
[perl.git] branch blead, updated. v5.13.7-214-g833f1b9
Message ID:
E1PNTOx-0005gP-2g@camel.ams6.corp.booking.com
In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/833f1b9305adb63ba9ffb5b9b832e8008443dcf4?hp=ba781e0dc9f7630534d9110ae60d4cd6482b77d4>

- Log -----------------------------------------------------------------
commit 833f1b9305adb63ba9ffb5b9b832e8008443dcf4
Author: Florian Ragwitz <rafl@debian.org>
Date:   Tue Nov 30 17:49:27 2010 +0100

    perldelta for mg_findext and sv_unmagicext
-----------------------------------------------------------------------

Summary of changes:
 pod/perldelta.pod |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 3d9f5f4..5cfb029 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -414,7 +414,13 @@ be noted as well.
 
 =item *
 
-XXX
+C<mg_findext> and C<sv_unmagicext> have been added.
+
+These new functions allow extension authors to find and remove magic attached to
+scalars based on both the magic type and the magic virtual table, similar to how
+C<sv_magicext> attaches magic of a certain type and with a given virtual table
+to a scalar. This eliminates the need for extensions to walk the list of
+C<MAGIC> pointers of an C<SV> to find the magic that belongs to them.
 
 =back
 

--
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About