must use aTHX_ for anything with a pTHX_ in proto
matthewt [Sat, 28 Jul 2007 10:05:18 +0000 (10:05 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-Declare@3616 bd8105ee-0ff8-0310-8827-fb3f25b6796d

Declare.xs

index 0dec6a0..bbff3fd 100644 (file)
@@ -234,7 +234,7 @@ STATIC OP *dd_ck_lineseq(pTHX_ OP *o) {
   SV** to_inject_ref;
   int i, pad_inject_list_last;
 
-  o = dd_old_ck_lineseq(o);
+  o = dd_old_ck_lineseq(aTHX_ o);
 
   pad_inject_list = get_av("Devel::Declare::next_pad_inject", FALSE);
   if (!pad_inject_list)