summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-13 17:29:09 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 10:12:18 +0200
commit0f90c85382de249d9770a7f8d5d0d22380441cfd (patch)
treee21f2f8ff04bd78813de2aa96d9b94459065b9c1 /perl.h
parent0ffb5b03d3cde2b28eda4897b664c02ce9f0e9dd (diff)
downloadperl-0f90c85382de249d9770a7f8d5d0d22380441cfd.tar.gz
Remove want_vtbl_{glob,symtab}, which aren't used and don't do anything useful.
Nothing visible on CPAN uses either. Passing either to Perl_get_vtbl() will currently return NULL (as a runtime error, rather than a compile time error). The case for want_vtbl_glob was removed from the switch in Perl_get_vtbl() in c0c446747ad6c5bd (which eliminated the need for magic on typeglobs). want_vtbl_symtab was added to the enum in perl.h with 8d2f45362e368d7d, but no code was added to Perl_get_vtbl() as there is no corresponding vtable.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index d00255b730..af44fc542e 100644
--- a/perl.h
+++ b/perl.h
@@ -4814,7 +4814,6 @@ enum { /* pass one of these to get_vtbl */
want_vtbl_isa,
want_vtbl_isaelem,
want_vtbl_arylen,
- want_vtbl_glob,
want_vtbl_mglob,
want_vtbl_nkeys,
want_vtbl_taint,
@@ -4833,7 +4832,6 @@ enum { /* pass one of these to get_vtbl */
want_vtbl_regdatum,
want_vtbl_backref,
want_vtbl_utf8,
- want_vtbl_symtab,
want_vtbl_arylen_p,
want_vtbl_hintselem,
want_vtbl_hints