summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-05-22 22:22:32 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-23 00:56:11 -0700
commit6697815661d775deb113dbdbc2e6822d55d3522b (patch)
treeec378137a15c53b6e93dd6d0597ab3fd8f1952ae /perl.h
parentce9f52adaabc1b017e07815147af86476576e92d (diff)
downloadperl-6697815661d775deb113dbdbc2e6822d55d3522b.tar.gz
Excise PL_amagic_generation
The core is not using it any more. Every CPAN module that increments it also does newXS, which triggers mro_method_changed_in, which is sufficient; so nothing will break. So, to keep those modules compiling, PL_amagic_generation is now an alias to PL_na outside the core.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index e532af2637..29d4fa1363 100644
--- a/perl.h
+++ b/perl.h
@@ -4776,6 +4776,8 @@ EXTCONST char *const PL_phase_names[];
* instead of using the newer PL_phase, which provides everything PL_dirty
* provided, and more. */
# define PL_dirty (PL_phase == PERL_PHASE_DESTRUCT)
+
+# define PL_amagic_generation PL_na
#endif /* !PERL_CORE */
END_EXTERN_C
@@ -5164,7 +5166,6 @@ struct am_table {
U8 fallback;
U16 spare;
U32 was_ok_sub;
- long was_ok_am;
CV* table[NofAMmeth];
};
struct am_table_short {
@@ -5172,7 +5173,6 @@ struct am_table_short {
U8 fallback;
U16 spare;
U32 was_ok_sub;
- long was_ok_am;
};
typedef struct am_table AMT;
typedef struct am_table_short AMTS;