 |
PK_ATTDEF_merge_callback_f_t |
|
typedef void (*PK_ATTDEF_merge_callback_f_t)
(
--- received arguments ---
PK_ENTITY_t live_entity, --- the entity that will survive the merge
int n_live_attribs, --- number of attribs on 'live_entity'
const PK_ATTRIB_t live_attribs[], --- attribs on 'live_entity'
PK_ENTITY_t doomed_entity, --- the entity that will not survive the
--- merge
int n_doomed_attribs, --- number of attribs on 'doomed_entity'
const PK_ATTRIB_t doomed_attribs[] --- attribs on 'doomed_entity'
);
This is the type of a merge attribute callback function.
Used in:
PK_ATTDEF_callback_fns_t
The function is called as the merge is about to occur. All 'live_attribs' and
'doomed_attribs' have the attribute definition with which the attribute
callback function has been associated by PK_ATTDEF_register_cb.