}
sub multoff ($$) {
my ($sym,$pre) = @_;
- hide("$pre$sym", "PL_$sym");
+# hide("$pre$sym", "PL_$sym");
+ return '';
}
unlink 'embed.h';
END
for $sym (sort keys %thread) {
- print EM multon($sym,'T','curinterp->');
+ print EM multon($sym,'T','PL_curinterp->');
}
print EM <<'END';
END
for $sym (sort keys %intrp) {
- print EM multon($sym,'I','curinterp->');
+ print EM multon($sym,'I','PL_curinterp->');
}
print EM <<'END';
#endif
#ifdef MULTIPLICITY
- ++ninterps;
+ ++PL_ninterps;
Zero(sv_interp, 1, PerlInterpreter);
#endif
init_stacks(ARGS);
#ifdef MULTIPLICITY
init_interp();
- perl_destruct_level = 1;
+ PL_perl_destruct_level = 1;
#else
if (PL_perl_destruct_level > 0)
init_interp();
FREETMPS;
#ifdef MULTIPLICITY
- --ninterps;
+ --PL_ninterps;
#endif
/* We must account for everything. */
sv_catpv(Sv," NO_EMBED");
# endif
# ifdef MULTIPLICITY
- sv_catpv(Sv," MULTIPLICITY");
+ sv_catpv(PL_Sv," MULTIPLICITY");
# endif
sv_catpv(PL_Sv,"\\n\",");
#endif
#else
# ifdef MULTIPLICITY
# define PERLVAR(var,type)
-# define PERLVARI(var,type,init) curinterp->var = init;
-# define PERLVARIC(var,type,init) curinterp->var = init;
+# define PERLVARI(var,type,init) PL_curinterp->var = init;
+# define PERLVARIC(var,type,init) PL_curinterp->var = init;
# include "intrpvar.h"
# ifndef USE_THREADS
# include "thrdvar.h"