summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2011-08-12 19:13:09 +0200
committerSteffen Mueller <smueller@cpan.org>2011-08-21 13:31:40 +0200
commit7ec04da5b5eb2040fcb41f623e7779acd16563b4 (patch)
treef7342d95f82e6985370c1063130fb467a5d1fb32
parentab1478f7146843f73af03fea79b380f501564e86 (diff)
downloadperl-7ec04da5b5eb2040fcb41f623e7779acd16563b4.tar.gz
Perldelta for static XSUBs
-rw-r--r--pod/perldelta.pod9
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 5a3d24e688..98f8c207d7 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -45,6 +45,15 @@ XXX For a release on a stable branch, this section aspires to be:
[ List each incompatible change as a =head2 entry ]
+=head2 XSUBs are now 'static'
+
+XSUB C functions are now 'static', that is, they are not visible from
+outside the compilation unit. For the exceedingly rare case where
+this is not desired, a new public macro C<XS_EXTERNAL(name)> can be
+used in place of C<XS(name)>. C<ExtUtils::ParseXS> (C<xsubpp>)
+can be made to declare XSUBs with C<XS_EXTERNAL> using the
+C<EXPORT_XSUB_SYMBOLS> keyword, see L<perlxs> for details.
+
=head1 Deprecations
XXX Any deprecated features, syntax, modules etc. should be listed here.