if (ctx->data) { if (SvOK(ctx->data) && SvREFCNT(ctx->data)) {  SvREFCNT_dec(ctx->data); } }  #ifdef USE_ITHREADS if (!ctx->perl) { ctx->perl = aTHX; } #endif
static MP_INLINE SV *mpxs_Apache__Filter_ctx(pTHX_                                             ap_filter_t *filter,                                             SV *data){    modperl_filter_ctx_t *ctx = (modperl_filter_ctx_t *)(filter->ctx);    if (data != Nullsv) {        ctx->data = SvREFCNT_inc(data);    }    return ctx->data ? SvREFCNT_inc(ctx->data) : &PL_sv_undef;}