projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96989be
)
ignore const for the purposes of typemaps (from Hugo van der Sanden)
author
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 13 Mar 2000 20:34:38 +0000
(20:34 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 13 Mar 2000 20:34:38 +0000
(20:34 +0000)
p4raw-id: //depot/perl@5708
lib/ExtUtils/xsubpp
patch
|
blob
|
history
diff --git
a/lib/ExtUtils/xsubpp
b/lib/ExtUtils/xsubpp
index
96e1bb4
..
085e852
100755
(executable)
--- a/
lib/ExtUtils/xsubpp
+++ b/
lib/ExtUtils/xsubpp
@@
-1544,6
+1544,7
@@
sub generate_init {
unless defined($type_kind{$type});
($ntype = $type) =~ s/\s*\*/Ptr/g;
+ $ntype =~ s/^\s*const\b\s*//;
($subtype = $ntype) =~ s/(?:Array)?(?:Ptr)?$//;
$tk = $type_kind{$type};
$tk =~ s/OBJ$/REF/ if $func_name =~ /DESTROY$/;