From 0f90c85382de249d9770a7f8d5d0d22380441cfd Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 13 May 2011 17:29:09 +0100 Subject: 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. --- perl.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'perl.h') 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 -- cgit v1.2.1