]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/commitdiff
Use a PPCODE: section in CLONE
authorVincent Pit <vince@profvince.com>
Mon, 31 May 2010 22:34:55 +0000 (00:34 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 31 May 2010 22:34:55 +0000 (00:34 +0200)
Cleanup.xs

index 0a19890d9b41753f65e903b66a18957c77c3b566..c4f802b6a3acdac0f6c6afd1974a8abc42b4ae23 100644 (file)
@@ -37,7 +37,6 @@ PROTOTYPES: DISABLE
 void
 CLONE(...)
 PREINIT:
-CODE:
- {
-  reap(3, tc_callback, NULL);
- }
+PPCODE:
+ reap(3, tc_callback, NULL);
+ XSRETURN(0);