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:
9df83ff
)
new is a reserved word in C++, don't use it as a variable name
author
Tony Cook
<tony@develop-help.com>
Tue, 13 Jul 2010 05:11:54 +0000
(15:11 +1000)
committer
Tony Cook
<tony@develop-help.com>
Tue, 13 Jul 2010 05:11:54 +0000
(15:11 +1000)
Fix a cause of black smoke for C++ builds.
ext/XS-APItest/APItest.xs
patch
|
blob
|
history
diff --git
a/ext/XS-APItest/APItest.xs
b/ext/XS-APItest/APItest.xs
index
2f2a8a7
..
3b90d95
100644
(file)
--- a/
ext/XS-APItest/APItest.xs
+++ b/
ext/XS-APItest/APItest.xs
@@
-256,13
+256,13
@@
blockhook_csc_start(pTHX_ int full)
if (cur) {
I32 i;
- AV *const new = newAV();
+ AV *const new
_av
= newAV();
for (i = 0; i <= av_len(cur); i++) {
- av_store(new, i, newSVsv(*av_fetch(cur, i, 0)));
+ av_store(new
_av
, i, newSVsv(*av_fetch(cur, i, 0)));
}
- GvAV(MY_CXT.cscgv) = new;
+ GvAV(MY_CXT.cscgv) = new
_av
;
}
}