projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use the right prototype and a glob is fine (from Rafael).
[p5sagit/p5-mst-13.2.git]
/
minimod.pl
diff --git
a/minimod.pl
b/minimod.pl
index
8efbd31
..
18b9c07
100644
(file)
--- a/
minimod.pl
+++ b/
minimod.pl
@@
-59,7
+59,7
@@
sub writemain{
my($mname, $cname);
($mname = $pname) =~ s!/!::!g;
($cname = $pname) =~ s!/!__!g;
- print "EXTERN_C void boot_${cname} (CV* cv);\n";
+ print "EXTERN_C void boot_${cname} (pTHX_ CV* cv);\n";
}
my ($tail1,$tail2) = ( $tail =~ /\A(.*\n)(\s*\}.*)\Z/s );