/* re__engine__Plugin self; SELF_FROM_PPRIVATE(self,rx->pprivate) */
#define SELF_FROM_PPRIVATE(self, pprivate) \
- if (sv_isobject(pprivate)) { \
+ if (sv_isobject(pprivate)) { \
SV * ref = SvRV((SV*)pprivate); \
- IV tmp = SvIV((SV*)ref); \
- self = INT2PTR(re__engine__Plugin,tmp); \
+ IV tmp = SvIV((SV*)ref); \
+ self = INT2PTR(re__engine__Plugin,tmp); \
} else { \
Perl_croak(aTHX_ "Not an object"); \
}
* in between */
if (h->exec) {
re->cb_exec = h->exec;
- SvREFCNT_inc_simple_void_NN(h->exec);
+ SvREFCNT_inc_simple_void_NN(h->exec);
}
re->cb_num_capture_buff_FETCH = NULL;
/* --- XS ------------------------------------------------------------------ */
-MODULE = re::engine::Plugin PACKAGE = re::engine::Plugin
+MODULE = re::engine::Plugin PACKAGE = re::engine::Plugin
PROTOTYPES: DISABLE
ptable *t;
PPCODE:
{
- my_cxt_t ud;
- dMY_CXT;
- ud.tbl = t = ptable_new();
- ud.owner = MY_CXT.owner;
- ptable_walk(MY_CXT.tbl, rep_ptable_clone, &ud);
+ my_cxt_t ud;
+ dMY_CXT;
+ ud.tbl = t = ptable_new();
+ ud.owner = MY_CXT.owner;
+ ptable_walk(MY_CXT.tbl, rep_ptable_clone, &ud);
}
{
- MY_CXT_CLONE;
- MY_CXT.tbl = t;
- MY_CXT.owner = aTHX;
+ MY_CXT_CLONE;
+ MY_CXT.tbl = t;
+ MY_CXT.owner = aTHX;
}
reap(3, rep_thread_cleanup, NULL);
XSRETURN(0);