]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Use a PPCODE: section in CLONE
authorVincent Pit <vince@profvince.com>
Tue, 18 May 2010 21:14:45 +0000 (23:14 +0200)
committerVincent Pit <vince@profvince.com>
Tue, 18 May 2010 21:14:45 +0000 (23:14 +0200)
indirect.xs

index f0af0b68c699a2ca828e4ae2ae87de0cc45e8ab1..ee45f235dd4e7d3dfd3916bbd53254b047d85105 100644 (file)
@@ -906,7 +906,7 @@ PROTOTYPE: DISABLE
 PREINIT:
  ptable *t;
  int    *level;
-CODE:
+PPCODE:
  {
   my_cxt_t ud;
   dMY_CXT;
@@ -928,6 +928,7 @@ CODE:
   SAVEDESTRUCTOR_X(indirect_thread_cleanup, level);
   ENTERn("sub");
  }
+ XSRETURN(0);
 
 #endif