X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExtUtils%2FEmbed.pm;h=6bf9c038e750e26127e840fa86536b6f6111c653;hb=14fe70c2d1778829732c0549106909ab5b329425;hp=ed5cd0da33910ee0e6b023b084edfa07e4e94532;hpb=022735b47c849ae03c52981ea170ac0d5308050c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm index ed5cd0d..6bf9c03 100644 --- a/lib/ExtUtils/Embed.pm +++ b/lib/ExtUtils/Embed.pm @@ -18,7 +18,7 @@ use vars qw(@ISA @EXPORT $VERSION ); use strict; -$VERSION = sprintf("%d.%02d", q$Revision: 1.2505 $ =~ /(\d+)\.(\d+)/); +$VERSION = sprintf("%d.%02d", q$Revision: 1.2506_00 $ =~ /(\d+)\.(\d+)/); @ISA = qw(Exporter); @EXPORT = qw(&xsinit &ldopts @@ -44,15 +44,11 @@ sub my_return { } } -sub is_perl_object { - $Config{ccflags} =~ /-DPERL_OBJECT/; -} - sub xsinit { my($file, $std, $mods) = @_; my($fh,@mods,%seen); $file ||= "perlxsi.c"; - my $xsinit_proto = "pTHXo"; + my $xsinit_proto = "pTHX"; if (@_) { @mods = @$mods if $mods; @@ -96,7 +92,7 @@ EOF sub xsi_protos { my(@exts) = @_; my(@retval,%seen); - my $boot_proto = "pTHXo_ CV* cv"; + my $boot_proto = "pTHX_ CV* cv"; foreach $_ (@exts){ my($pname) = canon('/', $_); my($mname, $cname);