From: Perl 5 Porters Date: Wed, 10 Jul 1996 21:20:32 +0000 (+0000) Subject: perl 5.003_01: lib/ExtUtils/xsubpp X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93d3b392e52f4dbaeb643dd62c1be55b27ef77d4;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_01: lib/ExtUtils/xsubpp Update to version 1.937 Cosmetic changes for easier EMACS editing First pass at correcting return type for void XSUBs --- diff --git a/lib/ExtUtils/xsubpp b/lib/ExtUtils/xsubpp index 8554bb5..13f54b4 100755 --- a/lib/ExtUtils/xsubpp +++ b/lib/ExtUtils/xsubpp @@ -76,7 +76,7 @@ perl(1), perlxs(1), perlxstut(1), perlapi(1) =cut # Global Constants -$XSUBPP_version = "1.935"; +$XSUBPP_version = "1.937"; require 5.002; use vars '$cplusplus'; @@ -183,7 +183,7 @@ foreach $typemap (@tm) { $type = TidyType($type) ; $type_kind{$type} = $kind ; # prototype defaults to '$' - $proto = '$' unless $proto ; + $proto = "\$" unless $proto ; warn("Warning: File '$typemap' Line $. '$line' Invalid prototype '$proto'\n") unless ValidProtoString($proto) ; $proto_letter{$type} = C_string($proto) ; @@ -570,7 +570,7 @@ sub ProtoString ($) { my ($type) = @_ ; - $proto_letter{$type} or '$' ; + $proto_letter{$type} or "\$" ; } sub check_cpp { @@ -608,7 +608,7 @@ open($FH, $filename) or die "cannot open $filename: $!\n"; print <