Skip to content

Commit 583d30f

Browse files
committed
Doc, implement XS Objective-C
1 parent 71d3679 commit 583d30f

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
@@ -13,6 +13,7 @@ our %Config_Override;
1313
our %XS_ext2src = qw(
1414
xs c
1515
xspp cpp
16+
xsm m
1617
);
1718
my $xspat = join '|', keys %XS_ext2src;
1819
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
@@ -528,6 +528,10 @@ F<Makefile.PL>, give C<XSMULTI> as 1. You will make your distribution
528528
much more portable, with much less effort for yourself, if you use
529529
L<ExtUtils::CppGuess> for C++ compiler configuration information.
530530

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

533537
=head2 MakeMaker object hierarchy (simplified)

0 commit comments

Comments
 (0)