From: Nicholas Clark Date: Fri, 30 Apr 2010 07:12:51 +0000 (+0100) Subject: Don't use a C++ keyword as a variable name ("new"). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=992b236353d3493be5063165567838e96570135a;p=p5sagit%2Fp5-mst-13.2.git Don't use a C++ keyword as a variable name ("new"). --- diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index 1a80d59..2abc7c2 100644 --- 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_store(table, old, new) +ptr_table_store(table, from, to) XS::APItest::PtrTable table -SVREF old -SVREF new +SVREF from +SVREF to CODE: - ptr_table_store(table, old, new); + ptr_table_store(table, from, to); UV -ptr_table_fetch(table, old) +ptr_table_fetch(table, from) XS::APItest::PtrTable table -SVREF old +SVREF from CODE: - RETVAL = PTR2UV(ptr_table_fetch(table, old)); + RETVAL = PTR2UV(ptr_table_fetch(table, from)); OUTPUT: RETVAL