This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98a1a13
)
Don't use a C++ keyword as a variable name ("new").
author
Nicholas Clark
<nick@ccl4.org>
Fri, 30 Apr 2010 07:12:51 +0000
(08:12 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 30 Apr 2010 07:13:47 +0000
(08:13 +0100)
ext/XS-APItest/APItest.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/XS-APItest/APItest.xs
b/ext/XS-APItest/APItest.xs
index
1a80d59
..
2abc7c2
100644
(file)
--- a/
ext/XS-APItest/APItest.xs
+++ b/
ext/XS-APItest/APItest.xs
@@
-564,19
+564,19
@@
XS::APItest::PtrTable table
ptr_table_free(table);
void
ptr_table_free(table);
void
-ptr_table_store(table,
old, new
)
+ptr_table_store(table,
from, to
)
XS::APItest::PtrTable table
XS::APItest::PtrTable table
-SVREF
old
-SVREF
new
+SVREF
from
+SVREF
to
CODE:
CODE:
- ptr_table_store(table,
old, new
);
+ ptr_table_store(table,
from, to
);
UV
UV
-ptr_table_fetch(table,
old
)
+ptr_table_fetch(table,
from
)
XS::APItest::PtrTable table
XS::APItest::PtrTable table
-SVREF
old
+SVREF
from
CODE:
CODE:
- RETVAL = PTR2UV(ptr_table_fetch(table,
old
));
+ RETVAL = PTR2UV(ptr_table_fetch(table,
from
));
OUTPUT:
RETVAL
OUTPUT:
RETVAL