register
Description:
public static unowned MetaInfo? register (Type api, string impl, size_t size, MetaInitFunction init_func, MetaFreeFunction free_func, MetaTransformFunction transform_func)
Register a new Meta implementation.
The same info
can be retrieved later with get_info by
using impl
as the key.
Parameters:
api |
the type of the Meta API |
impl |
the name of the Meta implementation |
size |
the size of the Meta structure |
init_func | |
free_func | |
transform_func |
Returns:
a MetaInfo that can be used to access metadata. |