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

index aa9011abaf7a65809c2dc886997095eefe4573a2..b56a21a36bc28e80719d3144c8f9874698b16191 100644 (file)
@@ -1125,7 +1125,7 @@ PROTOTYPE: DISABLE
 PREINIT:
  ptable *t;
  int    *level;
-CODE:
+PPCODE:
  {
   my_cxt_t ud;
   dMY_CXT;
@@ -1145,6 +1145,7 @@ CODE:
   SAVEDESTRUCTOR_X(a_thread_cleanup, level);
   ENTERn("sub");
  }
+ XSRETURN(0);
 
 #endif