These functions allow us to set and get metadata
on a module and to access the resulting
NamedMDNode
and MDNode
objects representing the metadata in a convenient manner.
setMetadata(x, id, values, ...)
getMetadata(module, id, ...)
the Module
object or NamedMDNode on which we
set or get the metadata
a string, the name/identifier of the metadata. This identifies which metadata field we want
a list of values to use as the metadata. These are
coerced to MDNode
objects.
additional arguments for the methods.
create = TRUE/FALSE
controls whether we create the
metadata node regardless of whether it already exists.