diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-11-30 17:49:27 +0100 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-11-30 17:49:27 +0100 |
commit | 833f1b9305adb63ba9ffb5b9b832e8008443dcf4 (patch) | |
tree | 46d75ed53d7b2d0d7766bfea6599cc7547753275 | |
parent | ba781e0dc9f7630534d9110ae60d4cd6482b77d4 (diff) | |
download | perl-833f1b9305adb63ba9ffb5b9b832e8008443dcf4.tar.gz |
perldelta for mg_findext and sv_unmagicext
-rw-r--r-- | pod/perldelta.pod | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 3d9f5f484f..5cfb02946f 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 |