summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-07-11 17:19:08 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-07-11 17:19:08 +0000
commit25fbdfc0879f30cf6944c322d4607eea9bcc7d15 (patch)
tree11310a9b8068c3e48d0840326815099a002e1444 /embed.pl
parent4e94524934c1af4124b2888d9716e5304ee50ad9 (diff)
parentfecfaeb8bbdf3ab93ea88558d0ee3a60234c5047 (diff)
downloadperl-25fbdfc0879f30cf6944c322d4607eea9bcc7d15.tar.gz
integrate cfgperl changes#6174..6203 into mainline (first of several)
p4raw-link: @6203 on //depot/cfgperl: fecfaeb8bbdf3ab93ea88558d0ee3a60234c5047 p4raw-link: @6174 on //depot/metaconfig: cfd1a6dce7dce25772bf4f5399e251457574eeeeon //depot/cfgperl: 12ae5dfcd4fd6f54af051c41b2e122532efce8d3 p4raw-id: //depot/perl@6343
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed.pl b/embed.pl
index 0859a67fd1..16a0697ea4 100755
--- a/embed.pl
+++ b/embed.pl
@@ -916,6 +916,9 @@ START_EXTERN_C
{ return &(PL_##v); }
#define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHXo) \
{ return &(PL_##v); }
+#undef PERLVARIC
+#define PERLVARIC(v,t,i) const t* Perl_##v##_ptr(pTHXo) \
+ { return (const t *)&(PL_##v); }
#include "perlvars.h"
#undef PERLVAR