This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tweak ExtUtils::Embed's generated C code to be closer to ExtUtils::Miniperl.
authorNicholas Clark <nick@ccl4.org>
Mon, 8 Jul 2013 09:08:12 +0000 (11:08 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 9 Jul 2013 05:54:26 +0000 (07:54 +0200)
commit5ec3aaed3924eb916d899592d7ddce99dd92959b
tree040ae91f0456d46ea7aeeb9cd51758c5b08767e1
parenta76b6481754efe93c8fd83bfbf53f4409c2e6e8d
Tweak ExtUtils::Embed's generated C code to be closer to ExtUtils::Miniperl.

Use #include "..." instead of #include <...> in xsi_header(), and don't add
a trailing newline (and add a newline in xsinit() to compensate).
Use four spaces instead of a tab for indenting.
If there are no extensions and hence no calls to newXS() don't declare file[]
and don't add a trailing newline.
lib/ExtUtils/Embed.pm