summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-01 14:39:31 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-12 16:15:22 +0200
commit457c538539eca0f3c596861d7d14ab0c0e9ee438 (patch)
tree3c2d5297ad80a80b290499ef46ff60c6e3b70814 /perlapi.h
parent0447859b8a048144ae0ece76a2f7595840942fcb (diff)
downloadperl-457c538539eca0f3c596861d7d14ab0c0e9ee438.tar.gz
Move PL_{revision,version,subversion} to perl.h, making them const U8.
To get the initialisation to work, the location of #include patchlevel.h needs to be moved.
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/perlapi.h b/perlapi.h
index fcbc440276..7458c67d53 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -147,8 +147,6 @@ END_EXTERN_C
#define PL_perlio_mutex (*Perl_Gperlio_mutex_ptr(NULL))
#undef PL_ppaddr
#define PL_ppaddr (*Perl_Gppaddr_ptr(NULL))
-#undef PL_revision
-#define PL_revision (*Perl_Grevision_ptr(NULL))
#undef PL_runops_dbg
#define PL_runops_dbg (*Perl_Grunops_dbg_ptr(NULL))
#undef PL_runops_std
@@ -165,8 +163,6 @@ END_EXTERN_C
#define PL_sig_trapped (*Perl_Gsig_trapped_ptr(NULL))
#undef PL_sigfpe_saved
#define PL_sigfpe_saved (*Perl_Gsigfpe_saved_ptr(NULL))
-#undef PL_subversion
-#define PL_subversion (*Perl_Gsubversion_ptr(NULL))
#undef PL_sv_placeholder
#define PL_sv_placeholder (*Perl_Gsv_placeholder_ptr(NULL))
#undef PL_thr_key
@@ -175,8 +171,6 @@ END_EXTERN_C
#define PL_timesbase (*Perl_Gtimesbase_ptr(NULL))
#undef PL_use_safe_putenv
#define PL_use_safe_putenv (*Perl_Guse_safe_putenv_ptr(NULL))
-#undef PL_version
-#define PL_version (*Perl_Gversion_ptr(NULL))
#undef PL_veto_cleanup
#define PL_veto_cleanup (*Perl_Gveto_cleanup_ptr(NULL))
#undef PL_watch_pvx