Skip to content

Commit

Permalink
Doc, implement XS Objective-C
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed May 11, 2017
1 parent a5f9375 commit 3632dc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ExtUtils/MM_Unix.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ our %Config_Override;
our %XS_ext2src = qw(
xs c
xscc cpp
xsm m
);
my $xspat = join '|', keys %XS_ext2src;
our $XS_extRE = qr/\.($xspat)\z/;
Expand Down
4 changes: 4 additions & 0 deletions lib/ExtUtils/MakeMaker/FAQ.pod
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@ F<Makefile.PL>, give C<XSMULTI> as 1. You will make your distribution
much more portable, with much less effort for yourself, if you use
L<ExtUtils::CppGuess> for C++ compiler configuration information.

Likewise, if you want XSUBS in Objective C, use the file extension
F<.xsm>, and they will automatically be converted using C<xsubpp> to a
F<.m> file. You will have to supply appropriate values for C<CC> etc.

=head1 DESIGN

=head2 MakeMaker object hierarchy (simplified)
Expand Down

0 comments on commit 3632dc6

Please sign in to comment.