summaryrefslogtreecommitdiff
path: root/perlapi.c
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 /perlapi.c
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 'perlapi.c')
-rw-r--r--perlapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perlapi.c b/perlapi.c
index 0f25e4d2ef..43feea8b7c 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -41,6 +41,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