diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-10-10 22:20:26 +0300 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-10 16:26:31 +0000 |
commit | 56ed337390db5e424ca027a52f061490d9a200ef (patch) | |
tree | 95750c0ea9dc9e1756fbd30b11277649583c2473 /lib | |
parent | ac8d2830a5f39312d4bf37f8ab43ad1350c22292 (diff) | |
download | perl-56ed337390db5e424ca027a52f061490d9a200ef.tar.gz |
C++: class is a keyword
Message-Id: <20061010162026.190BE8B37C@seth.hut.fi>
p4raw-id: //depot/perl@28990
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/ParseXS/t/XSTest.xs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/ExtUtils/ParseXS/t/XSTest.xs b/lib/ExtUtils/ParseXS/t/XSTest.xs index 2f7eaabac5..699c7341aa 100644 --- a/lib/ExtUtils/ParseXS/t/XSTest.xs +++ b/lib/ExtUtils/ParseXS/t/XSTest.xs @@ -28,7 +28,7 @@ is_even(input) RETVAL void -xstest_something (class, some_thing) +xstest_something (myclass, some_thing) char * some_thing C_ARGS: some_thing @@ -38,28 +38,28 @@ xstest_something2 (some_thing) char * some_thing void -xstest_something3 (class, some_thing) - SV * class +xstest_something3 (myclass, some_thing) + SV * myclass char * some_thing PREINIT: int i = 0; PPCODE: /* it's up to us clear these warnings */ - class = class; + myclass = myclass; some_thing = some_thing; i = i; XSRETURN_UNDEF; int -consts (class) - SV * class +consts (myclass) + SV * myclass ALIAS: const_one = 1 const_two = 2 const_three = 3 CODE: /* it's up to us clear these warnings */ - class = class; + myclass = myclass; ix = ix; RETVAL = 1; OUTPUT: |