summaryrefslogtreecommitdiff
path: root/globvar.sym
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-14 12:26:37 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 10:39:58 +0200
commit2d1f1fe5758d1f7ec388be4bc09f029dd0df5b7c (patch)
tree5a687231add1e5afc45981f9d7347df80776e0ad /globvar.sym
parentb76b0bf9b926e6a5504a59a935a232eb91d44437 (diff)
downloadperl-2d1f1fe5758d1f7ec388be4bc09f029dd0df5b7c.tar.gz
Provide the names of the magic vtables in PL_magic_vtable_names[].
As it's a 1 to 1 mapping with the vtables in PL_magic_vtables[], refactor Perl_do_magic_dump() to index into it directly to find the name for an arbitrary mg_virtual, avoiding a long switch statement.
Diffstat (limited to 'globvar.sym')
-rw-r--r--globvar.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/globvar.sym b/globvar.sym
index bb349731f1..49c2abf9a7 100644
--- a/globvar.sym
+++ b/globvar.sym
@@ -14,6 +14,7 @@ fold_locale
freq
keyword_plugin
magic_vtables
+magic_vtable_names
memory_wrap
no_aelem
no_dir_func