#endif
typedef struct {
-#if LT_MULTIPLICITY
+#ifdef MULTIPLICITY
STRLEN buf_size, orig_pkg_len, type_pkg_len, type_meth_len;
char *buf;
-#else /* LT_MULTIPLICITY */
+#else /* MULTIPLICITY */
SV *orig_pkg;
SV *type_pkg;
SV *type_meth;
-#endif /* !LT_MULTIPLICITY */
+#endif /* !MULTIPLICITY */
OP *(*pp_padsv)(pTHX);
} lt_op_info;
if (!(oi = ptable_fetch(lt_op_map, o))) {
oi = PerlMemShared_malloc(sizeof *oi);
ptable_map_store(lt_op_map, o, oi);
-#if LT_MULTIPLICITY
+#ifdef MULTIPLICITY
oi->buf = NULL;
oi->buf_size = 0;
-#else /* LT_MULTIPLICITY */
+#else /* MULTIPLICITY */
} else {
SvREFCNT_dec(oi->orig_pkg);
SvREFCNT_dec(oi->type_pkg);
SvREFCNT_dec(oi->type_meth);
-#endif /* !LT_MULTIPLICITY */
+#endif /* !MULTIPLICITY */
}
-#if LT_MULTIPLICITY
+#ifdef MULTIPLICITY
{
STRLEN op_len = SvCUR(orig_pkg);
STRLEN tp_len = SvCUR(type_pkg);
oi->type_pkg_len = tp_len;
oi->type_meth_len = tm_len;
}
-#else /* LT_MULTIPLICITY */
+#else /* MULTIPLICITY */
oi->orig_pkg = orig_pkg;
oi->type_pkg = type_pkg;
oi->type_meth = type_meth;
-#endif /* !LT_MULTIPLICITY */
+#endif /* !MULTIPLICITY */
oi->pp_padsv = pp_padsv;
ENTER;
SAVETMPS;
-#if LT_MULTIPLICITY
+#ifdef MULTIPLICITY
{
STRLEN op_len = oi.orig_pkg_len, tp_len = oi.type_pkg_len;
char *buf = oi.buf;
type_meth = sv_2mortal(newSVpvn(buf, oi.type_meth_len));
SvREADONLY_on(type_meth);
}
-#else /* LT_MULTIPLICITY */
+#else /* MULTIPLICITY */
orig_pkg = oi.orig_pkg;
type_pkg = oi.type_pkg;
type_meth = oi.type_meth;
-#endif /* !LT_MULTIPLICITY */
+#endif /* !MULTIPLICITY */
PUSHMARK(SP);
EXTEND(SP, 3);