if (indirect_initialized)
return;
- MY_CXT_INIT;
+ {
+ MY_CXT_INIT;
#if I_THREADSAFE
- MY_CXT.tbl = ptable_new();
- MY_CXT.owner = aTHX;
+ MY_CXT.tbl = ptable_new();
+ MY_CXT.owner = aTHX;
#endif
- MY_CXT.map = ptable_new();
- MY_CXT.linestr = NULL;
+ MY_CXT.map = ptable_new();
+ MY_CXT.linestr = NULL;
+ }
indirect_old_ck_const = PL_check[OP_CONST];
PL_check[OP_CONST] = MEMBER_TO_FPTR(indirect_ck_const);
PREINIT:
ptable *t;
int *level;
-CODE:
+PPCODE:
{
my_cxt_t ud;
dMY_CXT;
SAVEDESTRUCTOR_X(indirect_thread_cleanup, level);
ENTERn("sub");
}
+ XSRETURN(0);
#endif