my $build = Module::Build->new(
module_name => 'Class::C3::XS',
+ xs_files => { 'XS.xs' => 'lib/Class/C3/XS.xs' },
license => 'perl',
optional => {},
requires => {
recursive_test_files => 1,
add_to_cleanup => [
'META.yml', '*.bak', '*.gz', 'Makefile.PL',
+ 'XS.c', 'XS.o', 'XS.bs',
],
);
Revision history for Perl extension Class::C3::XS
+0.01_03 Mon Apr 16, 2007
+ Fix AvARRAY lvalue issue
+
+0.01_02 Mon Apr 16, 2007
+ Fix MakeMaker compat, and source compat, maybe
+ not it will work for more people
+
+0.01_01 Sun Apr 15, 2007
+ Initial Release
^#.*#$
^\.#
^\.c$
-lib/Class/C3/XS.c
-lib/Class/C3/XS.o
+\.[co]$
+\.bs$
av_push(retval, winner);
}
if(!sv_cmp(seqhead, winner)) {
-
- /* this is basically shift(@seq) in void context */
- SvREFCNT_dec(*AvARRAY(seq));
- *AvARRAY(seq) = &PL_sv_undef;
- AvARRAY(seq) = AvARRAY(seq) + 1;
- AvMAX(seq)--;
- AvFILLp(seq)--;
-
+ sv_2mortal(av_shift(seq));
if(AvFILLp(seq) < 0) continue;
svp = av_fetch(seq, 0, 0);
seqhead = *svp;
package Class::C3::XS;
-our $VERSION = '0.01_02';
+our $VERSION = '0.01_03';
=pod