Move the cast for a magic vtable with const get into mg_vtable.h
authorNicholas Clark <nick@ccl4.org>
Fri, 13 May 2011 15:35:59 +0000 (16:35 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 11 Jun 2011 08:12:17 +0000 (10:12 +0200)
commit0a1f728a485818674e743b9fb9a3c149f9e53b6e
tree2f37fa3b4fe9343ed341a711686bed8d8eeac0b4
parent8b09643d068d86543c3782211d4a527ee93fee77
Move the cast for a magic vtable with const get into mg_vtable.h

Putting the cast inside the initialiser (the only initialiser using it)
eliminates use of the macro MGVTBL_SET_CONST_MAGIC_GET(), which can be deleted
as nothing outside the core is relying on it.
mg_vtable.h
perl.h
regen/mg_vtable.pl