Skip to content

Commit 3d844b7

Browse files
committed
Doc, implement XS Objective-C
1 parent 1e71890 commit 3d844b7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lib/ExtUtils/MM_Unix.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ our %Config_Override;
1212
our %XS_ext2src = qw(
1313
xs c
1414
xscc cpp
15+
xsm m
1516
);
1617
my $xspat = join '|', keys %XS_ext2src;
1718
our $XS_extRE = qr/\.($xspat)\z/;

lib/ExtUtils/MakeMaker/FAQ.pod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,10 @@ F<Makefile.PL>, give C<XSMULTI> as 1. You will make your distribution
529529
much more portable, with much less effort for yourself, if you use
530530
L<ExtUtils::CppGuess> for C++ compiler configuration information.
531531

532+
Likewise, if you want XSUBS in Objective C, use the file extension
533+
F<.xsm>, and they will automatically be converted using C<xsubpp> to a
534+
F<.m> file. You will have to supply appropriate values for C<CC> etc.
535+
532536
=head1 DESIGN
533537

534538
=head2 MakeMaker object hierarchy (simplified)

0 commit comments

Comments
 (0)