This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Porting/todo.pod: Suggest documenting XS & lex subs
authorFather Chrysostomos <sprout@cpan.org>
Tue, 7 Jun 2016 05:13:42 +0000 (22:13 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 7 Jun 2016 05:14:52 +0000 (22:14 -0700)
Porting/todo.pod

index f2ca050..e99623e 100644 (file)
@@ -595,6 +595,11 @@ term, once the run-time implementation is proven, it should be possible to
 progressively update ExtUtils::ParseXS to generate OP implementations for
 some XSUBs.
 
+=head2 Document how XS modules can install lexical subs
+
+There is an example in XS::APItest (look for C<lexical_import> in
+F<ext/XS-APItest/APItest.xs>). The documentation could be based on it.
+
 =head2 Remove the use of SVs as temporaries in dump.c
 
 F<dump.c> contains debugging routines to dump out the contains of perl data