Register a new custom Meta implementation, backed by an opaque structure holding a Structure.
The registered info can be retrieved later with get_info by using name
as the key.
The backing Structure can be retrieved with get_structure, its mutability is conditioned by the writability of the buffer the meta is attached to.
When transform_func is null, the meta and its backing
Structure will always be copied when the transform operation is copy, other operations are
discarded, copy regions are ignored.
| name |
the name of the Meta implementation |
| tags |
tags for |
| transform_func | |
| destroy_data |
DestroyNotify for user_data |
| user_data |
user data passed to |
|
a MetaInfo that can be used to access metadata. |