Open
Description
While reading though some existing uses of PERL_MAGIC_ext
to consider conversion into Hooks, I found that what FieldHash.xs
does is not good. It uses ext
magic with no vtable at all, instead relying on an unlikely value of 0x4944
stored in the mg_private
field in the hope of uniquely identifying its own tagging.
Really, this should be done with a unique (static const
) vtable, like other modules do.
Metadata
Assignees
Labels
No labels