diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-07-19 16:23:30 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-07-19 16:23:30 +0000 |
commit | 84fee439e17f74d72fd55282112c02bc24f1cad2 (patch) | |
tree | 10d749d3874391435ad0de9adf362b83deaac7e6 /embed.pl | |
parent | bde848c562646d502628341cc25a35dd857800b2 (diff) | |
download | perl-84fee439e17f74d72fd55282112c02bc24f1cad2.tar.gz |
PL_ minir tidy up
p4raw-id: //depot/ansiperl@1568
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -2,6 +2,14 @@ require 5.003; +my @extvars = qw(sv_undef sv_yes sv_no na dowarn + curcop compiling + tainting tainted stack_base stack_sp sv_arenaroot + curstash DBsub DBsingle debstash + rsfp + stdingv + ); + sub readsyms (\%$) { my ($syms, $file) = @_; %$syms = (); @@ -285,4 +293,20 @@ print EM <<'END'; END +print EM <<'END'; + +#ifndef MIN_PERL_DEFINE + +END + +for $sym (sort @extvars) { + print EM hide($sym,"PL_$sym"); +} + +print EM <<'END'; + +#endif /* MIN_PERL_DEFINE */ +END + + close(EM); |