[ CCode ( instance_pos = 5.9 ) ]
[ Version ( since = "1.20" ) ]
public delegate bool CustomMetaTransformFunction (Buffer transbuf, CustomMeta meta, Buffer buffer, Quark type, void* data)
Function called for each meta
in buffer
as a result of performing a transformation on transbuf
.
Additional type
specific transform data is passed to the function as data
.
Implementations should check the type
of the transform and parse additional type specific fields in data
that
should be used to update the metadata on transbuf
.
transbuf |
a Buffer |
meta | |
buffer |
a Buffer |
type |
the transform type |
data |
transform specific data. |
user_data |
user data passed when registering the meta |
|